SunQuest
           UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old October 29th, 2003, 10:26 PM
shameem shameem is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 10 shameem User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 50 sec
Reputation Power: 0
Question unable to see the ps -ef full details

I am unable to see the command in ps -ef output. The last colomn of the ps -ef output consisting of the command is truncated. I need the full path of the process command. is there any way to acheive this
Thank you
Shameem S

Reply With Quote
  #2  
Old October 30th, 2003, 11:47 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
I usually do a:

# export COLUMNS=1000
# ps -ef|less
(less will let you scroll horizontally then )

but if this works will depend on your specific versions of UNIX, "less" and "ps".

hth,
M.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old October 30th, 2003, 02:55 PM
druuna druuna is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 137 druuna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 37 sec
Reputation Power: 0
This might work, depending on unix flavor:

ps -ef | fold

Will wrap long lines to next line.

Reply With Quote
  #4  
Old November 3rd, 2003, 07:47 AM
steve_yeoman steve_yeoman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 4 steve_yeoman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If you are using solaris try /usr/ucb/ps -auxwww instead of ps -ef

it doesn't truncate the output like ps does.

Reply With Quote
  #5  
Old November 12th, 2003, 12:47 PM
shameem shameem is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 10 shameem User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 50 sec
Reputation Power: 0
Thumbs up wanna cut

Hey I got this with the help of /usr/ucb/ps -auxww. That made my life easier. Thank you.

One more small help needed. I want to cut any one field ( I mean column) from the output of /usr/ucb/ps -auxww. I am unable to find the field separator to use "cut" command. can any body help me out to solve this. Thank you
Shameem S

FOr .e.g.
I have the total output as follows
root 1695 2.3 0.2 4008 2936 ? S 13:32:41 0:01 /opt/opendeploy/bin/iwdeploy -fs /opt/opendeploy/conf/branches/SolarisFarm/content/technology/governance/iw.odclient.cfg -V 1 staging-to-s0056pdv

Now I want to cut the parts
SolarisFarm/content/technology/governance and
staging-to-s0056pdv

Please let me know...

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > unable to see the ps -ef full details


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway