Hi all:
I apologize if it seems like I am trying to revive the "newbie versus expert"
thread. This is not the case. I am neither a newbie nor an expert. I am just
puzzled by the original problem which I submitted last week, which is
that the startup time of ALL tasks started at boot time (including the
mother of them all "init") appears to be changing with time as shown by the
"ps -auxw" command [examples below] without the machine having been rebooted
in between of course.
By the way, this is not a question of confusing START time with
TIME running (see below again). This looks like (possibly?...?...) a
cron problem, but I am at a loss to find out where the actual problem lies. This is
either a trivial question, in which case this should have been posted to the newbie
list [and, if that turns out to be the case, I pledge this list I will repeatedly
hit my head against a suitable wall, a suitable number of times, to be determined
by a suitable number of votes from this list...] or a question worth addressing,
even if it may have no practical consequences. But then, what is the point of
having tools to monitor processes if you cannot thrust the one single information
about when a given process actually started? As I mentioned before, I was hacked
once and found out that "ps" is one of the usual commands which is first replaced. I
do not think this is the case here (I ran an md5sum check on it) but in
doubt...
Thanks for your time.
Serge Pineault
P.S. "Explanatory" notes:
(1) Before I sent the initial message, I checked the archives on the newbie
and expert lists and could not find any related item (mind you, it is not
obvious
to do a search with "ps" or "startup" as keywords...). I also read what
I thought were the relevant manual pages (but maybe I missed some...).
(2) I sent this message to the expert list, rather than the newbie, because I
genuinely thought the answer was not obvious (I could of course be very
wrong! I might add hopefully...).
(3) Despite the fact I felt some "guilt" at starting this "newbie versus expert"
thread, there is one thing that sticks to my mind: it is that people expressing
their opinions on this list do it in a frank and polite way. In that respect,
Randy Kramer's PS to my initial message deserves mention!
And now for something completely different (I hope there are some Monty Python fans
on this list)...
Here is the output of two "ps -auxw" commands typed at 16:31 and 19:50 on the same
day. Of course the machine had not been rebooted in between. should add that
my PC is not permanently ON: I only turn it on when I (or somebody in my family)
need to use it. I also have the appropriate sections of the /var/log/messages
and crontab files and a listing of the /etc/cron* directories which I can post
later if deemed necessary.
********************* Output of "ps -auxw" done at 16:31 -- Booting was at 15:55
********************
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.2 0.7 1064 468 ? S 15:55 0:04 init [5]
root 2 0.0 0.0 0 0 ? SW 15:55 0:00 [kflushd]
root 3 0.0 0.0 0 0 ? SW 15:55 0:00 [kupdate]
root 4 0.0 0.0 0 0 ? SW 15:55 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? SW< 15:55 0:00 [mdrecoveryd]
root 329 0.0 0.6 1048 392 ? S 15:55 0:00 /sbin/dhcpcd -H eth0
root 370 0.0 1.1 1400 764 ? S 15:55 0:00 syslogd -m 0
root 380 0.0 1.1 1388 764 ? S 15:55 0:00 klogd -k
/boot/System.map-2.2.17-21mdk
root 393 0.0 0.9 1280 632 ? S 15:55 0:00 crond
root 406 0.0 0.6 1056 432 ? S 15:55 0:00 inetd
root 419 0.1 6.8 6516 4444 ? S 15:55 0:02 cupsd
root 463 0.0 0.6 1088 440 ? S 15:55 0:00 gpm -t ps/2
xfs 478 0.0 5.0 4244 3304 ? S 15:56 0:01 xfs -port -1 -daemon
root 492 0.0 0.6 1032 404 tty1 S 15:56 0:00 /sbin/mingetty tty1
root 493 0.0 0.6 1032 404 tty2 S 15:56 0:00 /sbin/mingetty tty2
root 494 0.0 0.6 1032 404 tty3 S 15:56 0:00 /sbin/mingetty tty3
root 495 0.0 0.6 1032 404 tty4 S 15:56 0:00 /sbin/mingetty tty4
root 496 0.0 0.6 1032 404 tty5 S 15:56 0:00 /sbin/mingetty tty5
root 497 0.0 0.6 1032 404 tty6 S 15:56 0:00 /sbin/mingetty tty6
root 498 0.1 5.5 12152 3600 ? S 15:56 0:03 kdm -nodaemon
root 508 0.7 8.3 10892 5452 ? R 15:56 0:16 /etc/X11/X -auth
/etc/X11/xdm/authdir/A:0-ljEXI5
root 547 0.0 10.6 13420 6948 ? S 15:56 0:00 -:0
lp 619 0.0 1.0 2212 652 ? S 15:56 0:00 hp 119 bozo (stdin) 1
//var/spool/cups/d00119-001
root 620 0.0 0.6 1444 420 ? S 15:56 0:00 parallel:/dev/lp0 119
bozo (stdin) 1
serge2 624 0.0 1.5 1920 976 ? S 15:57 0:00 sh /usr/bin/startkde
serge2 667 0.0 1.3 2068 864 ? S 15:57 0:00 /usr/bin/ssh-agent --
/bin/sh -c #!/bin/sh??exec /usr/bin/startkde
serge2 713 0.0 7.1 13832 4644 ? S 15:57 0:00 kdeinit: dcopserver
serge2 715 0.0 8.0 14152 5224 ? S 15:57 0:00 kdeinit: klauncher
serge2 717 0.0 13.8 15960 9024 ? S 15:57 0:01 kdeinit: kdesktop
serge2 719 0.0 7.7 13816 5056 ? S 15:57 0:00 kdeinit: kded
serge2 723 0.1 4.0 3696 2644 ? S 15:57 0:02 artsd -F 5 -S 8192
serge2 731 0.0 7.8 13872 5080 ? S 15:57 0:00 kdeinit: kxmlrpcd
serge2 739 0.0 13.5 16052 8832 ? S 15:58 0:01 kdeinit: kicker
serge2 741 0.0 10.5 14320 6844 ? S 15:58 0:00 kdeinit: klipper
serge2 743 0.0 9.0 14096 5872 ? S 15:58 0:00 kdeinit: khotkeys
serge2 745 0.0 6.5 13556 4260 ? S 15:58 0:00 kdeinit: Running...
serge2 746 0.0 9.6 14356 6268 ? S 15:58 0:00 kdeinit: kwrited
serge2 748 0.0 0.6 1180 416 pts/0 S 15:58 0:00 /bin/cat
serge2 749 0.0 9.7 13524 6324 ? S 15:58 0:00 knotify
serge2 750 0.1 11.9 15180 7760 ? S 15:58 0:02 kdeinit: konsole
serge2 755 0.0 7.4 10708 4844 ? S 15:58 0:00 ksmserver --restore
serge2 756 0.0 2.2 2304 1432 pts/1 S 15:58 0:00 /bin/bash
serge2 764 0.0 10.5 14648 6864 ? S 15:58 0:01 kdeinit: kwin
serge2 770 0.1 12.1 15280 7908 ? S 15:58 0:02 kdeinit: konsole
serge2 771 0.0 2.1 2296 1420 pts/2 S 15:58 0:00 /bin/bash
serge2 877 0.0 1.3 2524 884 pts/1 R 16:31 0:00 ps -auxw
********************* Output of "ps -auxw" done at 19:50 -- No rebooting since 15:55
********************
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.7 1064 468 ? S 16:46 0:04 init [5]
root 2 0.0 0.0 0 0 ? SW 16:46 0:00 [kflushd]
root 3 0.0 0.0 0 0 ? SW 16:46 0:00 [kupdate]
root 4 0.0 0.0 0 0 ? SW 16:46 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? SW< 16:46 0:00 [mdrecoveryd]
root 329 0.0 0.3 1048 196 ? S 16:46 0:00 /sbin/dhcpcd -H eth0
root 370 0.0 1.1 1400 716 ? S 16:46 0:00 syslogd -m 0
root 380 0.0 1.0 1388 676 ? S 16:46 0:00 klogd -k
/boot/System.map-2.2.17-21mdk
root 393 0.0 0.8 1280 576 ? S 16:46 0:00 crond
root 406 0.0 0.5 1056 328 ? S 16:46 0:00 inetd
root 419 0.0 6.7 6516 4360 ? S 16:46 0:02 cupsd
root 463 0.0 0.4 1088 320 ? S 16:46 0:00 gpm -t ps/2
xfs 478 0.0 5.3 4472 3472 ? S 16:46 0:01 xfs -port -1 -daemon
root 493 0.0 0.6 1032 404 tty2 S 16:46 0:00 /sbin/mingetty tty2
root 494 0.0 0.6 1032 404 tty3 S 16:46 0:00 /sbin/mingetty tty3
root 495 0.0 0.6 1032 404 tty4 S 16:46 0:00 /sbin/mingetty tty4
root 496 0.0 0.6 1032 404 tty5 S 16:46 0:00 /sbin/mingetty tty5
root 497 0.0 0.6 1032 404 tty6 S 16:46 0:00 /sbin/mingetty tty6
root 498 0.0 5.5 12152 3600 ? S 16:46 0:03 kdm -nodaemon
root 508 0.4 10.1 12012 6580 ? S 16:46 0:45 /etc/X11/X -auth
/etc/X11/xdm/authdir/A:0-ljEXI5
root 547 0.0 9.3 13420 6092 ? S 16:47 0:00 -:0
lp 619 0.0 1.0 2212 652 ? S 16:47 0:00 hp 119 bozo (stdin) 1
//var/spool/cups/d00119-001
root 620 0.0 0.6 1444 420 ? S 16:47 0:00 parallel:/dev/lp0 119
bozo (stdin) 1
serge2 624 0.0 1.5 1920 976 ? S 16:48 0:00 sh /usr/bin/startkde
serge2 667 0.0 0.5 2068 380 ? S 16:48 0:00 /usr/bin/ssh-agent --
/bin/sh -c #!/bin/sh??exec /usr/bin/startkde
serge2 713 0.0 1.5 13832 1020 ? S 16:48 0:00 kdeinit: dcopserver
serge2 715 0.0 2.4 14152 1576 ? S 16:48 0:00 kdeinit: klauncher
serge2 717 0.0 12.1 15960 7896 ? S 16:48 0:01 kdeinit: kdesktop
serge2 719 0.0 2.5 13816 1644 ? S 16:48 0:00 kdeinit: kded
serge2 723 0.0 4.0 3696 2644 ? S 16:48 0:02 artsd -F 5 -S 8192
serge2 731 0.0 2.4 13872 1604 ? S 16:48 0:00 kdeinit: kxmlrpcd
serge2 739 0.0 11.8 16088 7740 ? S 16:48 0:03 kdeinit: kicker
serge2 741 0.0 8.8 14320 5760 ? S 16:48 0:00 kdeinit: klipper
serge2 743 0.0 5.5 14096 3600 ? S 16:48 0:00 kdeinit: khotkeys
serge2 745 0.0 0.3 13556 232 ? S 16:48 0:00 kdeinit: Running...
serge2 746 0.0 7.8 14356 5112 ? S 16:48 0:00 kdeinit: kwrited
serge2 748 0.0 0.6 1180 416 pts/0 S 16:48 0:00 /bin/cat
serge2 749 0.0 8.2 13524 5392 ? S 16:48 0:00 knotify
serge2 750 0.0 10.6 15180 6924 ? S 16:48 0:05 kdeinit: konsole
serge2 755 0.0 7.4 10712 4848 ? S 16:48 0:00 ksmserver --restore
serge2 756 0.0 2.2 2312 1440 pts/1 S 16:48 0:00 /bin/bash
serge2 764 0.0 9.0 14680 5860 ? S 16:48 0:02 kdeinit: kwin
serge2 770 0.0 10.8 15280 7084 ? S 16:49 0:09 kdeinit: konsole
serge2 771 0.0 2.2 2352 1484 pts/2 S 16:49 0:00 /bin/bash
root 1047 0.0 0.6 1032 404 tty1 S 18:52 0:00 /sbin/mingetty tty1
serge2 1149 0.0 1.3 2524 884 pts/1 R 19:50 0:00 ps -auxw
******************************
I should add that, when I shut the machine down around 21:00, a
final "ps -auxw" showed no changes to the START entries
compared to the ones at 19:50. I
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com