Sponsored Content
Top Forums UNIX for Advanced & Expert Users Read the entire output fired by ps command Post 302159334 by vinithepoo on Thursday 17th of January 2008 01:25:28 PM
Old 01-17-2008
Read the entire output fired by ps command

Actually I want to display the entire output fired by ps command. My output gets trucated after 80 chars.
Thus, i am not able to see the entire command running when i give a ps -eaf ....

Does anyone know how do i display the entire output fired by ps command .. (i.e the command along with arguments which appears at the end shuld not get truncated ).

Thanks in advance ...
 

10 More Discussions You Might Find Interesting

1. Programming

How to read output of a shell command

Hello All, I have a an application written in C and runing on Red Hat Linux. In my code I have written a command that is fired on the linux shell by using system() function call. Now I need to read the output of this command in my c program and assign it to a variable. Can anyone... (1 Reply)
Discussion started by: shamik
1 Replies

2. Shell Programming and Scripting

How to Read the entire file using while loop

Guys, I am trying to read the whole file using while loop but when i run the ssh part of the script it reads only the first line and exit after that. There are in total 134 lines in the file, but when the output is redirected, it does only for one line and comes to command prompt. pls help..... (11 Replies)
Discussion started by: sdosanjh
11 Replies

3. UNIX for Dummies Questions & Answers

read command - using output from command substitution

Hey, guys! Trying to research this is such a pain since the read command itself is a common word. Try searching "unix OR linux read command examples" or using the command substitution keyword. :eek: So, I wanted to use a command statement similar to the following. This is kinda taken... (2 Replies)
Discussion started by: ProGrammar
2 Replies

4. UNIX for Dummies Questions & Answers

How to read entire output from a file?

Hello- I am trying to view a file which is quite large. However, whenever I do 'cat (file name)' it shows me just the half.. I am using Putty to access my server. Also, is it possible to edit a file from a unix system on a 'Gedit for Windows" text editor? Thanks (7 Replies)
Discussion started by: DallasT
7 Replies

5. Shell Programming and Scripting

read line and run a different command according to the output

Hi. I'm trying to write a script that reads a line on a file and runs a different command for a different line output. For example, if it finds the word "Kuku" on the line it sends mail to Kuku@kuku.com. Otherwise, it sends mail to Lulu@lulu.com. TIA. (2 Replies)
Discussion started by: Doojek9
2 Replies

6. UNIX for Advanced & Expert Users

ls output into a read command as a variable

I'm working on a short BASH script on my Ubuntu box that will run powerpoint scripts with MS Powerpoint Viewer 2007 via WINE. I can run the presentation when I run it manually but what i'd like to do is have the script look for the newest file then run it. #! /bin/sh # Start the newest... (2 Replies)
Discussion started by: binary-ninja
2 Replies

7. Solaris

How to read the output of snoop command?

Hi! I have run the following command: snoop -q -d e1000g0 -o /var/tmp/optima0.txt & them I am trying to read the output of it with snoop -i /var/tmp/optima0.txt, which is giving me this: # snoop -i /var/tmp/optima0.txt | more 1 0.00000 AIOPTSVR -> 10.100.4.72 TCP D=1393 S=22 Push... (8 Replies)
Discussion started by: fretagi
8 Replies

8. Shell Programming and Scripting

This find command could have got me fired

Oracle Linux 6.4/Bash shell I am not an expert in find command I wanted to delete all files with extension .dmp which are older than 60 days. So I executed rm command from within find as show below and it deleted ALL THE FILES (even files without any extention) which the user had permission... (4 Replies)
Discussion started by: John K
4 Replies

9. Solaris

User with read-only to entire filesystem

Is this even possible? Its a request for external auditors to login remotely. (5 Replies)
Discussion started by: psychocandy
5 Replies

10. Shell Programming and Scripting

Read several variables from command output via SSH

Hi Folks, I'm currently trying to read several values into different variables. Actually, what I'm doing works, but I get an error message. My attempts are: read strCPROC strIPROC strAPROC <<<$(ssh -n -T hscroot@$HMC "lshwres -r proc -m $strIDENT --level sys -F \"configurable_sys_proc_units... (11 Replies)
Discussion started by: NKaede
11 Replies
GPROCMETER3(1)						      General Commands Manual						    GPROCMETER3(1)

NAME
gprocmeter3, procmeter3-gtk1 or procmeter3-gtk2 - A user friendly system monitoring program. SYNOPSIS
gprocmeter3|procmeter3-gtk1|procmeter3-gtk2 [-h|--help] [-w <hint1>[,<hint2>]] [--rc=<filename>] [--...] [...] [GTK program options] DESCRIPTION
ProcMeter Displays one or more pieces of information about the operating system and other resources. Most of the information that is dis- played comes from the /proc filesystem. The program is modular and very configurable. OPTIONS
The command line options are described below. -h Provides a help message listing the available outputs. This will be different for different computers depending on the Linux kernel version that is being used and the hardware/software that is configured. -w Gives Extended Window Manager hints (EWMH) to change the way that the Window Manager treats the ProcMeter3 window. Implemented hints are: above, below, skip_pager, skip_taskbar, sticky. You can give more than one hint separated by commas (e. g. -w above,skip_taskbar,sticky), or use -w multiple times (e. g. -w above -w sticky). --rc=<filename> Load the specified .procmeterrc file in stead of the searching in the usual places. --... A list of configuration file options that will override the values in the .procmeterrc file. The format of these options is (for example) --resources.background=grey50 which is equivalent to the entry in the .procmeterrc file of [resources] background = grey50 All spaces around the equal sign must be removed and if spaces are required in the value on the right hand side then quotes must be used around the entire command line option. ... A list of names of outputs that are to be displayed. This can include any of the outputs that are available (see the -h option). For the CPU usage is in a module named Statistics with an output named CPU and there are graph (-g), text (-t) and bar (-b) options. To display the CPU usage graph you would use the command line option Statistics.CPU-g GTK program options The standard set of GTK program options. These include --display to set the display to use. X window options The only standard X Windows program option that is accepted is -geometry to set the size of the window. USAGE
When started the program will display all of the requested information in a set of output panels (vertically aligned by default). Each output can be either a graph, text or bar, and can have a label indicating what it represents. The outputs that are displayed are those from the command line and those from the .procmeterrc configuration file. The left mouse button will produce a menu of options that are specific to the output that is selected. The Properties option on this menu will give more detailed information about the origin and meaning of the information that is displayed. When the properties information window is displayed, clicking on another output will change the displayed information. The Move to Above and Move to Below options allow the output to be moved around in the window. Selecting one of these options will change the mouse cursor to a hand, use this to select another output. The output that was selected first will be moved to above or below the output that was selected second. The Run option on the menu (which may not be available on all outputs) will run the specified command. This may be to display a list of running processes, show the amount of free memory or disk space for example. This menu option is configurable in the .procmeterrc file. The right mouse button will produce a set of menus that list the modules that are available and for each of them the available set of out- puts. There are three types of output, text and two graphical outputs, these are indicated in the sub-menus by icons. Selecting one of the outputs from a sub-menu will cause that output to be displayed if it is not already visible. If it is currently displayed then it will be disabled. Those that are currently displayed are indicated by a marker to the left in the sub-menu. When the output is added to the window it will be placed at the bottom, use the left mouse button to move it if required. The middle mouse button will display the sub-menu that is associated with the module for the output that is selected. This is one of sub- menus that are found with the right mouse button. MODULES
The modules that are available for gprocmeter3, procmeter3-gtk1 and procmeter3-gtk2 are described in the procmeter3_modules(1) manual page. SEE ALSO
procmeterrc(5) procmeter3_modules(1) AUTHOR
Andrew M. Bishop 1998-2008 July 3, 2010 GPROCMETER3(1)
All times are GMT -4. The time now is 06:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy