Sponsored Content
Operating Systems AIX How to redirect output of topas? Post 302273036 by Padow on Friday 2nd of January 2009 10:35:09 AM
Old 01-02-2009
download and use nmon instead. You can save the output to a file and use the provided excel macros to make cool charts.

IBM developerWorks: Wikis - AIX - nmon
Padow
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Redirect output

Hi all, I have a script which call a java program, the logging (to log file) in the program is done using log4j. However, as a safety measure, i still choose to direct standard error to another log file as follow /usr/bin/java -classpath ${classpath} -Xmx128m TestingProgram 2>>... (1 Reply)
Discussion started by: mpang_
1 Replies

2. Shell Programming and Scripting

Redirect Output

Hi, I would like to list files: ls *.hdf But I would like a copy of the output directed to the screen, but also APPENDED to a text file: test.txt I have tried: ls *.hdf | tee test.txt However, that will just write over everything already existing in test.txt. How can I append the... (1 Reply)
Discussion started by: msb65
1 Replies

3. AIX

topas -P save output

hi i have server monitor script which totally depends upon the output of TOP which works fine on HP. now i am told to put same script on aix i found that topas -P produces same output but it doesnt redirect output to file i have to kill/terminate it. is there any other way to this. as the... (0 Replies)
Discussion started by: zedex
0 Replies

4. Shell Programming and Scripting

output redirect

Hi i am compiling a source code by make command. i want to redirect the output of make to a file but at the same time i want to see the output in terminal. how to do this ?. please suggest your idea. thanks in advance. Saravana ---------- Post updated at 05:24 PM ----------... (2 Replies)
Discussion started by: tsaravanan
2 Replies

5. AIX

topas -P output to file

Hi, I need to output to a file, what will be ftp'ed to windows the output of a topas -P command in AIX. I can't install anything in the server (because it's the bank AIX server) but i need to control and keep the history of the % cpu that my processes use. I tried to use topas -R >>... (7 Replies)
Discussion started by: jtmartins
7 Replies

6. Shell Programming and Scripting

Redirect SFTP Output only

HI Guys, My requiement is to redirect output and error of sftp to a file.I have gone through few solutions given in this forum and got the alternate solution but not the one i want. Below piece of code is not working .. $ sftp user@server<<EOF 2>&1 >temp.txt > cd <dir> > ls > EOF... (0 Replies)
Discussion started by: mohanpadamata
0 Replies

7. UNIX for Advanced & Expert Users

Redirect Topas output to a file

Hi, I want to know how to redirect the output of topas -P to a file in a readable format. I tried doing it by using topas -P > topas.txt but the output is not properly aligned and when I opened it using vi it ahd some characters. Please help me out in this. Thanks (1 Reply)
Discussion started by: Preetha
1 Replies

8. Shell Programming and Scripting

script to mail monitoring output if required or redirect output to log file

Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions. ... (4 Replies)
Discussion started by: aix_admin_007
4 Replies

9. AIX

Record topas command output

How to record output of below command in a text file. topas -P or is there any other command which will do the same thing in AIX. I would like to get a report something similar to below commands. top -b prstat -c (5 Replies)
Discussion started by: NarayanaPrakash
5 Replies

10. Shell Programming and Scripting

Redirect script output to a file and mail the output

Hi Guys, I want to redirect the output of 3 scripts to a file and then mail the output of those three scripts. I used below but it is not working: OFILE=/home/home1/report1 echo "report1 details" > $OFILE =/home/home1/1.sh > $OFILE echo... (7 Replies)
Discussion started by: Vivekit82
7 Replies
HPSET(1)							       LOCAL								  HPSET(1)

NAME
hpset -- printer commands SYNOPSIS
hpset [-hco] [commands ...] DESCRIPTION
hpset is used to send commands to a printer. These commands are synonyms for ESC Codes based on the PCL standard from Hewlet Packard. Options -c redirect output to stdout -oname redirect output into the specified file or device redirect -h prints a help message Commands back Puts every setting back to the printer defaults. test Starts the self test. out If paper is inside the printer it will be thrown out. cr activates the linefeed lbon acivates the linebreak. leftright forces the printer to print only from left to right. rightleft forces the printer to print only from right to left. bidirect forces the printer in both ways. execoff The following commands are not executed but printed. execon The following commands are executed. nice High quality printing. econo Enables fast and economic printing. landscape Printing in landscape format. portrait Printing in portrait format. lpinum Sets the lines per inch. For num use 6 or 8. The following commands must be sent in the given order and sequence. The sequence looks like, hpset [characterset] [characterdistance] [character density] [point size] [type position] [line strength] [type] -Characterset english ISO 4 ansi ANSI ASCII ISO 6 sweden ISO 10 italian ISO 15 spain ISO 17 german ISO 21 france ISO 69 -Characterdistance prop Proportional fix Fixed If you've chosen proportional you don't have to set the character density. -Characterdensity cpi# # is one of 5,6,10,12,16,16.67,20,24 -Pointsize point# # is one of 4.75,5,6,7,8,9.5,10,12,14,19,24 -Typeposition italic upright -Linestrength bold normal -Type courier times gothic univers Notice that not every combination of the commands above is possible. Refer to the manual of HPSET where you can find a table with allowed combinations. SEE ALSO
lpr(1), lpd(1), BUGS
report them to michael.janson@stud.uni-karlsruhe.de LINUX
April 27, 1997 LINUX
All times are GMT -4. The time now is 05:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy