width of command in ps


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):

Apparently the suggestion below for increasing ps argument width was wishful thinking, see http://groups.google.com/group/comp.unix.sco.programmer/browse_frm/thread/81e724749d35eb8b/92eb0c844b35c8c7#92eb0c844b35c8c7


Hate these ads?




From - Fri Jun 23 06:39:58 2000
Path: news.randori.com!news.voicenet.com!news-peer.gip.net!news.gsl.net!gip.net!cyclone2.usenetserver.com!news-out.usenetserver.com!cyclone1.usenetserver.com!cyclone1.usenetserver.com!news-west.usenetserver.com.POSTED!not-for-mail
Newsgroups: comp.unix.sco.misc
Subject: Re: simple Question about PS and command width References: <8is43j$cv7$1@perki.connect.com.au>
Organization: The Armory
X-Newsreader: trn 4.0-test69 (20 September 1998)
From: spcecdt@deeptht.armory.com. (John DuBois)
Lines: 14 Message-ID: <e5B45.17913$9W1.338603@news-west.usenetserver.com>
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: support@usenetserver.com
NNTP-Posting-Date: Thu, 22 Jun 2000 23:47:22 EDT
Date: Fri, 23 Jun 2000 03:47:22 GMT
Xref: news.randori.com comp.unix.sco.misc:62166
X-Mozilla-Status: 8010
X-Mozilla-Status2: 00000000



In article <8is43j$cv7$1@perki.connect.com.au>,
Stuart J. Browne <stuart@promed.com.au> wrote:
>Is it possible to get more than 80 characters for the COMMAND name when
>doing a 'ps -f'.



No.  From /usr/include/sys/user.h:














#define PSARGSZ         80      /* Space in u-block for exec arguments */
                                /* Used by ps command */




        John
-- 
John DuBois  spcecdt@armory.com.  KC6QKZ/AE  http://www.armory.com./~spcecdt/


LOD Communications, Inc.






Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them.

I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.




Comments

---January 20, 2005

not true, ps -efww seems to do this in Linux.





Thu Jan 1 00:00:00 1970:  




Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments

If you want a picture to show with your comment, go get a Gravatar



/Bofcusm/420.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!





More:
       - Newsgroup












Change Congress