Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 1999 14:58:46 +0200
From:      Ladavac Marino <mladavac@metropolitan.at>
To:        "'skovian@interpath.com'" <skovian@interpath.com>, freebsd-questions@FreeBSD.ORG
Subject:   RE: questions on ps
Message-ID:  <55586E7391ACD211B9730000C11002761796A4@r-lmh-wi-100.corpnet.at>

next in thread | raw e-mail | index | archive | help
> -----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55586E7391ACD211B9730000C11002761796A4>