From owner-freebsd-questions Fri Jun 25 6: 1:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from titan.metropolitan.at (mail.metropolitan.at [195.212.98.131]) by hub.freebsd.org (Postfix) with ESMTP id 6B7E914CB8 for ; Fri, 25 Jun 1999 06:01:41 -0700 (PDT) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id ; Fri, 25 Jun 1999 15:04:33 +0200 Message-ID: <55586E7391ACD211B9730000C11002761796A4@r-lmh-wi-100.corpnet.at> From: Ladavac Marino To: "'skovian@interpath.com'" , freebsd-questions@FreeBSD.ORG Subject: RE: questions on ps Date: Fri, 25 Jun 1999 14:58:46 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Michael Jaskowiak [SMTP:skovian@interpath.com] > Sent: Friday, June 25, 1999 2:52 PM > To: freebsd-questions@FreeBSD.ORG > Subject: questions on ps > > Hello, > > I have looked at the man pages and the on-line documentation, > but have > not found an answer so I hope you folks can give me some guidance. > Here > is the hardware configuration. Intel Celeron 333, 384 Megs RAM, 3Com > 3C900B LAN, Curtis 350 Meg Flash drive. The flash drive has a small > load of freebsd 3.1 on it. What it does is to boot into a MFS and not > use the drive at all. I have complete functionality as far as telnet, > ftp, logging, and other services go, but I have a problem with the ps > command. Here is the output of 'ps x': > > # ps x > PID TT STAT TIME COMMAND > 0 ?? DLs 0:00.35 (swapper) > 1 ?? Is 0:00.01 /sbin/init -- > 2 ?? DL 0:01.66 (pagedaemon) > 3 ?? DL 0:00.00 (vmdaemon) > 4 ?? DL 1:34.92 (syncer) > 95 ?? Ss 0:03.23 (syslogd) > 137 ?? Ss 0:00.08 (inetd) > 140 ?? Is 0:04.47 (cron) > 9943 ?? Ss 0:00.02 (telnetd) > 9948 p0 R+ 0:00.00 (ps) > 208 v0 Is+ 0:00.01 (getty) > 189 v1 Is+ 0:00.01 (getty) > 190 v2 Is+ 0:00.01 (getty) > > As you can see, it is not very detailed. The way that I have most of > the system functions compiled into my kernel is by using crunchgen. I > have the ps command set under /usr/bin and the source is in > /usr/src/usr.bin. Since I have also left the ability to copy in > commands from a working system, I tried to just copy in the ps command > with the same results. I need to have full ps capability for other > things to work properly. What have I done wrong? Thank you for any > help that you can give me. [ML] Honestly, I don't see where is the problem. The output looks like an expected ps x output. It would seem that the crunchgen added prologue manipulates the argv[0], if that is what bothers you. /Marino > Michael > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message