skip to main
|
skip to sidebar
Knowledge Addict
Wednesday, January 13, 2010
Count Total Process using pgrep..
Here is another useful command to count total process/thread is running.
When run
ps aux
... indeed can get all the running process..
#
ps aux | grep httpd
But the list is too long..
Therefore.. have a try use
pgrep
..
#
pgrep httpd
Can see all the list are the process id for the
httpd
process.
Then to count how much thread had been running by
httpd
..
#
pgrep httpd | wc -l
Total process/thread is show up.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Unknown
View my complete profile
Blog Archive
►
2014
(1)
►
May
(1)
►
2011
(3)
►
December
(2)
►
September
(1)
▼
2010
(9)
►
June
(1)
►
May
(4)
►
March
(2)
▼
January
(2)
Count Total Process using pgrep..
Check RAM slot in Linux using dmidecode..
►
2009
(8)
►
December
(1)
►
June
(4)
►
May
(1)
►
April
(2)
Labels
Apache
(1)
Cisco
(4)
Linux
(14)
MySQL
(1)
Netscaler
(1)
PHP
(1)
Suse
(1)
Windows
(3)
Interesting Knowledge
Database Journal
Hack In The Box
Linux Home Networking
MySQL
Planet MySQL
RedHat
Ubuntu
No comments:
Post a Comment