mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	new scripts
This commit is contained in:
		
							
								
								
									
										1043
									
								
								jlanpro_test.pl
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										1043
									
								
								jlanpro_test.pl
									
									
									
									
									
										Executable file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										14
									
								
								mem-info.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										14
									
								
								mem-info.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | #!/bin/bash | ||||||
|  |  | ||||||
|  | set -x | ||||||
|  | java_pid=`pgrep java` | ||||||
|  | [ -z "$java_pid" ] && echo "no running java process" && exit 1 | ||||||
|  |  | ||||||
|  | p_jmap=`which jmap` | ||||||
|  | [ -z "$p_jmap" ] && echo "jmap not found" && exit 1 | ||||||
|  |  | ||||||
|  | now=`date +heap_+%Y-%m-%d_%I-%M-%S` | ||||||
|  | $p_jmap -dump:live,format=b,file=/home/lanforge/Documents/$now.bin $java_pid | ||||||
|  |  | ||||||
|  | jstack $java_pid | ||||||
|  | echo done | ||||||
		Reference in New Issue
	
	Block a user
	 Jed Reynolds
					Jed Reynolds