04-17-2012
Display full command (including options) information in running
Suppose I am a Unix user, not a root.
I can see all commands in running by
ps -elf, or some similar commands. Such commands may be submit by other Unix users.
Is there a way that I can display those commands with their full parameters/options. For example, I can see a user is running "ls" command. But I am not sure the options he used. His actual commands may be in a form of
ls -al. How can I see this detail?
Best regards,
Miedy
Last edited by happy_lotus; 04-18-2012 at 04:57 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
everytime i use the "ps -elf" command to monitor the processes, i always encounter one problem.
some process names are just to long and was truncated.
what command should i use to display the full command/process that is running.
pls help me. urgent.
thanks:rolleyes: (1 Reply)
Discussion started by: champion
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Does anyone know how to ammend the .cshrc file in $HOME for your session to display the path as part of the command line? So that I dont need to keep on typing pwd to see where I am?
thanks
Ocelot (3 Replies)
Discussion started by: ocelot
3 Replies
3. SuSE
Sir,
I using the following commands in a file (part of a bigger script):
#!/bin/bash
cd /opt/oracle/bin
ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out
If I run this from the command prompt the result is:
2007-05-16
if I run it as a cron job then... (5 Replies)
Discussion started by: rajranibl
5 Replies
4. UNIX for Dummies Questions & Answers
Hello everyboby,
can someone write me all options for Xterm option -name. For example, I know that @d give me server ip... but, how to write something like
${USER}@${HOST}: ${PWD}$
on title bar ?
I use a connection line like this
@(XTerm, method=stdappdb) -fn 6x13 -bg AliceBlue -fg blue... (2 Replies)
Discussion started by: gogol_bordello
2 Replies
5. Shell Programming and Scripting
Hi all,
How to:
Run a bash script, display on the screen and save all information in a file including error information.
For example:
I have a bash script called test.sh
now I want to run the test.sh and display the output on the screen and save the output including error info to a file.
... (1 Reply)
Discussion started by: Damon sine
1 Replies
6. UNIX for Dummies Questions & Answers
Hello all, i'm stumped.... I need to list all directories with all there info and exclude the files, then vice versa. I am not sure if I need to string several ls commands together or how to even do that. I believe I need to do some variation of ls -l but need to figure out how to take out the... (5 Replies)
Discussion started by: citizencro
5 Replies
7. UNIX for Dummies Questions & Answers
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies
8. Shell Programming and Scripting
Hi, I have a script running while rsync command is fired to push some files. The output of rsync cmd has been redirected to the script which is used to generate log files containing progress info with formatting. when I enter ps -ef | grep rsync it shows the full scripting code on the cmd line... (2 Replies)
Discussion started by: rajeevra
2 Replies
9. Shell Programming and Scripting
how to display the messages on screen IN PERL such as "
1. Entering while loop" if the script enters a while loop.
2. Checking FILENAME. etc...
3. Print statement is also not helpful.... (1 Reply)
Discussion started by: Rashid Khan
1 Replies
10. Shell Programming and Scripting
I was just wondering if there is a way to pass an new option or argument to an already running command or program. Let us say you run "zenity --list <options>" and you like to add a title or change the title you used on it while it is already running, is it possible to do that? (1 Reply)
Discussion started by: cryogrid
1 Replies
LEARN ABOUT OPENSOLARIS
xentop
xentop(1M) System Administration Commands xentop(1M)
NAME
xentop - display real-time information about an xVM system and domains
SYNOPSIS
xentop [-h] [-V] [-d=seconds] [-n] [-r] [-v] [-b] [-i=iterations]
DESCRIPTION
The xentop command displays information about the Solaris xVM system and domains in a continually-updating way. It is analogous to the BSD
UNIX top command.
OPTIONS
The following options are supported:
-b, --batch
Output data to stdout in batch mode.
-d, --delay=seconds
Set seconds between updates. The default is 3 seconds.
-h, --help
Display help and exit.
-i, --iterations=iterations
Maximum number of iterations xentop should display before terminating.
-n, --networks
Display network information.
-r, --repeat-header
Repeat table header before each domain.
-v, --vcpus
Display VCPU data.
-V, --version
Display version information and exit.
-x, --vbds
Display virtual block device data.
INTERACTIVE COMMANDS
The xentop command supports a set of interactive commands. These are one-letter (case-insensitive) commands that you enter while xentop
output is displayed. They are as follows:
d
Set delay between updates.
n
Toggle display of network information.
q, Esc
Quit.
r
Toggle table header before each domain.
s
Cycle sort order.
v
Toggle display of VCPU information.
(arrow keys)
Scroll domain display.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWxvmu |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
virsh(1M), xm(1M), attributes(5), xVM(5)
SunOS 5.11 3 Mar 2008 xentop(1M)