Snort mailing list archives
Re: startup script
From: Erek Adams <erek () snort org>
Date: Thu, 18 Sep 2003 08:04:48 -0400 (EDT)
On Wed, 17 Sep 2003, Craig Hammer wrote:
The startup script for snort calls a function named "pidof" that is not present on Solaris 8. Is there a similar function I can call in Solaris to get the pid?
Close... Either use pgrep or ps -ef |grep snort |grep -v grep |awk '{print $2}' Cheers! ----- Erek Adams "When things get weird, the weird turn pro." H.S. Thompson ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- startup script Craig Hammer (Sep 17)
- Re: startup script Erek Adams (Sep 18)