Sponsored Content
Top Forums Shell Programming and Scripting Capture entire line in ps command Post 302193086 by Tytalus on Thursday 8th of May 2008 12:43:40 PM
Old 05-08-2008
try:

/usr/ucb/ps wwaxu

HTH,
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

command to replace the entire line from the key point

Hi everyone I am new to Unix. I got stuck up by small issue. I have text file something like this abc 'xyz' '5' lmn 'pqr' '7' i want to replace the abc 'xyz' '5' to abc 'xyz' '6' but i have a key as 'xyz' based on this key i want to do that. I am not aware of how to use sed... (7 Replies)
Discussion started by: Vijayaragavan
7 Replies

2. Shell Programming and Scripting

Replace entire line

I want to replace one line from my configuration file with the new settings. The file Name: /etc/httpd/conf/httpd.conf The following line should be replaced with the line mentioned below. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "\"%h\"... (3 Replies)
Discussion started by: shantanuo
3 Replies

3. Red Hat

command line image capture on fedora 11

i mean command line WEBCAM image capture. sorry fo rleaving webcam out of the title... how do i edit that? anyways... imagemagick, ffmpeg are installed. cheese works fine. webcam is there. i can take movies and photos. i would like to take command line snapshots from the camera. how do i do... (0 Replies)
Discussion started by: danpaluska
0 Replies

4. UNIX for Dummies Questions & Answers

ffmpeg: capture audio that's playing (command line)

I'd like to capture the audio playing in itunes (OSX) to a file (from the command line). I currently use Wiretap Pro, but i'd like a non-gui. I tried installing sox, but after installing about 40-50 dependencies it crashed out. I do have ffmpeg working and I am pretty sure it can capture what's... (0 Replies)
Discussion started by: sentinel
0 Replies

5. UNIX for Dummies Questions & Answers

Show the entire line using ps

Using the vanilla ps -ef I noticed that the CMD (or command) line gets cut off after 90 characters UID PID PPID C STIME TTY TIME CMD root 6020 3822 0 Jun 19 ? 0:01 ./webservd-wdog -r /export/opt/sows/61sp4 -d /export/opt/sows/61sp4/https-logse Googling... (4 Replies)
Discussion started by: SixSigma1978
4 Replies

6. Red Hat

Capture Entire server configuration

Hi Is there any tool/package/command to get entire server's configuration of an RHEL Server? Conf info must incl. hostname, IP, domain name, all recent logs, OS info, disk info, CPU, RAM, swap, IO, services, all services' config files etc. thanks, Reddy (3 Replies)
Discussion started by: reddyr
3 Replies

7. Shell Programming and Scripting

Specify an entire UNIX command as a command line argument

I'm trying to write a bash script called YN that looks like the following YN "Specify a question" "doThis" "doThat" where "doThis" will be executed if the answer is "y", otherwise "doThat". For example YN "Do you want to list the file dog?" "ls -al dog" "" Here's my attempt... (3 Replies)
Discussion started by: LeoKSimon
3 Replies

8. HP-UX

How capture all user command line output?

Hi I want to know how capture all user command line output and save this commands and outputs to text files? if you have script for this subject please give me.:o please help me thank you (6 Replies)
Discussion started by: amvhd
6 Replies

9. Shell Programming and Scripting

Using the entire line with space in between

Hi Folks, I have a report data like the one seen below. FRUITS@NEW_ORANGE(1500 04/29) FRUITS@NEW_ORANGE(1500 05/04) FRUITS@NEW_ORANGE(1500 05/05) FRUITS@NEW_ORANGE(1500 05/07) FRUITS@NEW_ORANGE(1500 05/12) I need to use each of this lines separately in another for loop like the one... (2 Replies)
Discussion started by: jayadanabalan
2 Replies

10. Shell Programming and Scripting

How to extract entire para instead of just line?

Hello, I have a file with multiple paragraphs/sections each starting with word "Handle" and if I grep for a pattern, I should get contents of entire section/para (not just line). Please advise, thanks! #script.sh file.txt "System Information" Handle 0x0001 DMI type 1, 27 bytes. ... (9 Replies)
Discussion started by: reddyr
9 Replies
plot(1B)					     SunOS/BSD Compatibility Package Commands						  plot(1B)

NAME
plot, aedplot, atoplot, bgplot, crtplot, dumbplot, gigiplot, hpplot, implot, plottoa, t300, t300s, t4013, t450, tek, vplot, hp7221plot - graphics filters for various plotters SYNOPSIS
/usr/ucb/plot [-Tterminal] DESCRIPTION
The plot utility reads plotting instructions (see plot(4B)) from the standard input and produces plotting instructions suitable for a par- ticular terminal on the standard output. If no terminal is specified, the environment variable TERM is used. The default terminal is tek. ENVIRONMENT VARIABLES
Except for ver, the following terminal-types can be used with `lpr -g' (see lpr(1B)) to produce plotted output: 2648 | 2648a | h8 | hp2648 | hp2648a Hewlett Packard 2648 graphics terminal. hp7221 | hp7 | h7 | Hewlett Packard 7221 plotter. 300 DASI 300 or GSI terminal (Diablo mechanism). 300s | 300S DASI 300s terminal (Diablo mechanism). 450 DASI Hyterm 450 terminal (Diablo mechanism). 4013 Tektronix 4013 storage scope. 4014 | tek Tektronix 4014 and 4015 storage scope with Enhanced Graphics Module. (Use 4013 for Tektronix 4014 or 4015 without the Enhanced Graphics Module). aed AED 512 color graphics terminal. bgplot | bitgraph BBN bitgraph graphics terminal. crt Any crt terminal capable of running vi(1). dumb | un | unknown Dumb terminals without cursor addressing or line printers. gigi | vt125 DEC vt125 terminal. implot Imagen plotter. var Benson Varian printer-plotter ver Versatec D1200A printer-plotter. The output is scan-converted and suitable input to `lpr -v'. FILES
/usr/ucb/aedplot /usr/ucb/atoplot /usr/ucb/bgplot /usr/ucb/crtplot /usr/ucb/dumbplot /usr/ucb/gigiplot /usr/ucb/hp7221plot /usr/ucb/hpplot /usr/ucb/implot /usr/ucb/plot /usr/ucb/plottoa /usr/ucb/t300 /usr/ucb/t300s /usr/ucb/t4013 /usr/ucb/t450 /usr/ucb/tek /usr/ucb/vplot ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
graph(1), tplot(1), vi(1), lpr(1B), plot(4B), attributes(5) SunOS 5.11 3 Aug 1994 plot(1B)
All times are GMT -4. The time now is 11:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy