04-13-2006
-o is the ps format option in Solaris.
[root@server]/var/tmp>
usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
[ -u userlist ] [ -U userlist ] [ -G grouplist ]
[ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid
pri opri pcpu pmem vsz rss osz nice class time etime stime
f s c lwp nlwp psr tty addr wchan fname comm args projid project pset
[root@server]/var/tmp>
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am a newbie to unix as well as scripting. I need to write a script, which on execution sets the necessay oracle variables.
Can someone help me out as to how to proceed? also can u suggest good tutorial for bash/shell scripting?
thanks (1 Reply)
Discussion started by: aboxilica
1 Replies
2. UNIX for Dummies Questions & Answers
I am attempting to write a shell script that runs a program which generates data and then runs another program to plot the data. The problem is that I need the plotting to take place in a different terminal window that stays open after the plotting has finished. I have experimented 'xterm -e '... (1 Reply)
Discussion started by: chris2051
1 Replies
3. Shell Programming and Scripting
Hi All,
I am facing a problem while trying to export path variables from a script. Here's my situation
1. I have a script in which i have defined all the path variables to be exported:
export ORACLE_HOME=/path/to/bin/
export NG_USER_HOME=/path/to/bin/
etc....
2. I have another shell... (4 Replies)
Discussion started by: raghu_shekar
4 Replies
4. Shell Programming and Scripting
Hi,
Want to initaite the Oracle's Export utility from the perl script,but getting error as mentioned below:
Script
#!/usr/bin/perl -w
my $username="system";
my $password = "manager";
my $tns = "DBLOCAL";
exp $username/$password@$tns
Error
$ ./testexp.pl
Array found where... (4 Replies)
Discussion started by: milink
4 Replies
5. UNIX for Advanced & Expert Users
Hi all guys,
how you can read in thread title, I'm deploying a bash script in which I have to export some variables inside it.
But (I think you know) the export command works only inside the script and so, on exit command, the variables aren't set like I set inside the script.
Consequently in... (8 Replies)
Discussion started by: idro
8 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a script called
bash$> cat -ev setprofile.sh
alias rm='rm -i'$
$
The alias does not take effect unless i run the script as
bash$> . ./setprofile.sh
What do I have to do in-order to simply run (9 Replies)
Discussion started by: shifahim
9 Replies
7. Shell Programming and Scripting
Dear Team,
Can you please help me to write the script for export backup.
I've written some of the part and stuck in "if" condition Apprecatied if you help me.
Requirement:- Export backup completion sent the email if it is success (sent backup success email)or if fails (sent backup fails... (9 Replies)
Discussion started by: Mohammed Fareed
9 Replies
8. Shell Programming and Scripting
Hi Forum,
I have script to export he Siebel repository. My requirment is to have a shell script in place so when placed in it in a cron it should generate the repsoitory dat file on date basis.
Script for export:
repimexp /a E /c UCM_ES_DEV2_DSN /u sadmin /p SADMIN /d siebel /r... (4 Replies)
Discussion started by: nuthakki
4 Replies
9. Shell Programming and Scripting
All,
While executing the bellow commnad after the sed, awk command to export the value to, i am getting the fallowing error.
line="_AABBB.EEEEEEE.LOG4JDISPLAY.PATH_=/apps/opt/abcde/pdstdsd/esapp/apadsfasdf/logadsfasdf.xml"
keystring=`echo $line | awk -F"=" '{ print $1 }'`... (1 Reply)
Discussion started by: jothi basu
1 Replies
10. UNIX for Dummies Questions & Answers
I 'd like to export emails from my mail client(mac) inbox into an Excel spreadsheet. I need the Subject, From fields, Return-Path and the Message-ID. Does anyone know how I can do this?
Thanks,
Newbie :) (1 Reply)
Discussion started by: Cris
1 Replies