Use sudo to gather netstat/ps results
so that we can capture whole infomration. Change-Id: Ibacded7599f26f09e50813c7406728a01365abe7
This commit is contained in:
parent
fc3f5bfbd3
commit
72358b3306
@ -219,8 +219,8 @@ df -h > $LOG_DIR/df.txt
|
|||||||
free -m > $LOG_DIR/free.txt
|
free -m > $LOG_DIR/free.txt
|
||||||
lsmod > $LOG_DIR/lsmod.txt
|
lsmod > $LOG_DIR/lsmod.txt
|
||||||
cat /proc/cpuinfo > $LOG_DIR/cpuinfo.txt
|
cat /proc/cpuinfo > $LOG_DIR/cpuinfo.txt
|
||||||
ps -eo user,pid,ppid,lwp,%cpu,%mem,size,rss,cmd > $LOG_DIR/ps.txt
|
sudo ps -eo user,pid,ppid,lwp,%cpu,%mem,size,rss,cmd > $LOG_DIR/ps.txt
|
||||||
netstat -tulpn > $LOG_DIR/netstat.txt
|
sudo netstat -tulpn > $LOG_DIR/netstat.txt
|
||||||
|
|
||||||
for table in raw filter nat mangle ; do
|
for table in raw filter nat mangle ; do
|
||||||
echo $table
|
echo $table
|
||||||
|
Loading…
Reference in New Issue
Block a user