01-05-2012, 07:17 AM
Hi Siskos
good morning
Can you try these command? is a little bit different.
the first grep shows you all process that contains a word smsd (the deamon of smstools). the second grep excludes the current command line, and the third counts the lines.
i've got these command for various modules and i have no problem.
bye!
good morning
Can you try these command? is a little bit different.
Code:
ps -Af | grep smsd | grep -v "grep" | wc -l
the first grep shows you all process that contains a word smsd (the deamon of smstools). the second grep excludes the current command line, and the third counts the lines.
i've got these command for various modules and i have no problem.
bye!