“ss”
command is another very useful command available in Linux. The “ss”
command is used to show socket statistics. Statistics for PACKET
sockets, TCP sockets, UDP sockets, DCCP sockets, RAW sockets, Unix
domain sockets can be seen using the ss command. This command is much
similar to netstat command in linux. The command displays the list of
all socket and port status and related information's.
Basic
Example
Dev:vx11aaa:jbs002-~
$...
Pages
Friday, August 30, 2013
Very use full Commands ( For Trouble Shooting )
Some
of these Commands may be throw an error when I Use '-' ( hyphen ) ,so
for commands using hyphen be a little cautious
Biggest
10 Files
du
-sh * | sort -n | tail
du
-x -a . | sort -n -r | head -n 10
List
All the Process By memory usage
ps
-e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
ps
-eo pcpu,pid,user,args | sort -k 1 -r | head -10
ps
-eo pcpu,pid,user,args | sort -r -k1 | less
find
how many files...
Tuesday, August 20, 2013
Resource Management : Vmstat
Vmstat
is a command available in linux which displays information about the
memory, swap and CPU utilization of the system in real time.
A
Basic executions of vmstat gives,
LocalMach:root002-~
$ vmstat
procs -----------memory---------- ---swap--
-----io---- --system-- -----cpu------
r
b swpd free ...
Subscribe to:
Posts
(
Atom
)