Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
dumb question [processes and daemons] - Page 2
Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: dumb question [processes and daemons]

  1. #11

    Re:dumb question

    hello,
    nope, that is init.d - where all the startup stuff is. the process should have a name snort associated with it though. maybe try ps -aux | grep sno.


  2. #12

    Re:dumb question [processes and daemons]

    i'd say try ps -waux | grep snortd

    sometimes the process has a long name like "serivce startup super daemon with cheese fries snortd" and by default ps only shows like 80 charecters cause it tries to fit on your screen width. but -w will make it show for real.

  3. #13

    Re:dumb question

    [quote author=pbharris link=board=1;threadid=6736;start=0#63214 date=1049323664]
    hello,
    nope, that is init.d - where all the startup stuff is. the process should have a name snort associated with it though. maybe try ps -aux | grep sno.


    [/quote]

    That did it. Thank you very much. BTW, what's the difference between -ef and aux ?

  4. #14

    Re:dumb question [processes and daemons]

    [quote author=gorn link=board=1;threadid=6736;start=0#63236 date=1049337085]
    i'd say try ps -waux | grep snortd

    sometimes the process has a long name like "serivce startup super daemon with cheese fries snortd" and by default ps only shows like 80 charecters cause it tries to fit on your screen width. but -w will make it show for real.
    [/quote]

    You're totally right regarding the long names...this is the case
    ps -waux | grep webmin works and it gives the following output:
    ' /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.co.'
    Geez, that's the name of the process ... :-)

  5. #15

    Re:dumb question [processes and daemons]

    quick answer - the way the output is formated - both show all processes.

    here is the output from ps --help

    Code:
    ********* simple selection *********  ********* selection by list *********
    -A all processes                      -C by command name
    -N negate selection                   -G by real group ID (supports names)
    -a all w/ tty except session leaders  -U by real user ID (supports names)
    -d all except session leaders         -g by session leader OR by group name
    -e all processes                      -p by process ID
    T  all processes on this terminal     -s processes in the sessions given
    a  all w/ tty, including other users  -t by tty
    g  all, even group leaders!           -u by effective user ID (supports names)
    r  only running processes             U  processes for specified users
    x  processes w/o controlling ttys     t  by tty
    *********** output format **********  *********** long options ***********
    -o,o user-defined  -f full            --Group --User --pid --cols
    -j,j job control   s  signal          --group --user --sid --rows
    -O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
    -l,l long          u  user-oriented   --sort --tty --forest --version
                       X  registers       --heading --no-heading
                        ********* misc options *********
    -V,V show version       L  list format codes  f  ASCII art forest
    -m,m show threads       S  children in sum    -y change -l format
    -n,N set namelist file  c  true command name  n  numeric WCHAN,UID
    -w,w wide output        e  show environment   -H process heirarchy

  6. #16

    Re:dumb question [processes and daemons]

    Thanks, I should have mantioned before that reviewing help didn't clarify the difference between aux and ef, I think the helkp language in this case is not exactly human. I was using aux mostly on Soalris box, cause sometimes it didn't equeal the ef output....but again, I was doing it without proper understanding....
    Thanks again.

  7. #17

    Re:dumb question [processes and daemons]

    Maybe you should try ps -auxww.
    The ww argument shows all of a process's command-line parameters, despite length.


    10Ded

Similar Threads

  1. Back with another dumb question ...
    By jeager in forum Linux - General Topics
    Replies: 10
    Last Post: 04-26-2006, 03:18 PM
  2. Kinda dumb BIND question
    By datamike in forum Linux - General Topics
    Replies: 2
    Last Post: 03-17-2003, 09:45 PM
  3. Dumb Dumb RAM Question
    By Tyr_7BE in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 12-05-2002, 09:55 PM
  4. dumb kernel question
    By imported_Psycho in forum Linux - Software, Applications & Programming
    Replies: 10
    Last Post: 12-08-2001, 06:36 AM
  5. Dumb HTML question
    By popcorn in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 11-22-2001, 01:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •