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 DEBIAN
iwpriv
IWPRIV(8) Linux Programmer's Manual IWPRIV(8)
NAME
iwpriv - configure optionals (private) parameters of a wireless network interface
SYNOPSIS
iwpriv [interface]
iwpriv interface private-command [private-parameters]
iwpriv interface private-command [I] [private-parameters]
iwpriv interface --all
DESCRIPTION
Iwpriv is the companion tool to iwconfig(8). Iwpriv deals with parameters and setting specific to each driver (as opposed to iwconfig
which deals with generic ones).
Without any argument, iwpriv list the available private commands available on each interface, and the parameters that they require. Using
this information, the user may apply those interface specific commands on the specified interface.
In theory, the documentation of each device driver should indicate how to use those interface specific commands and their effect.
PARAMETERS
private-command [private-parameters]
Execute the specified private-command on the interface.
The command may optionally take or require arguments, and may display information. Therefore, the command line parameters may or may
not be needed and should match the command expectations. The list of commands that iwpriv displays (when called without argument)
should give you some hints about those parameters.
However you should refer to the device driver documentation for information on how to properly use the command and the effect.
private-command [I] [private-parameters]
Idem, except that I (an integer) is passed to the command as a Token Index. Only some command will use the Token Index (most will
ignore it), and the driver documentation should tell you when it's needed.
-a/--all
Execute and display all the private commands that don't take any arguments (i.e. read only).
DISPLAY
For each device which support private commands, iwpriv will display the list of private commands available.
This include the name of the private command, the number or arguments that may be set and their type, and the number or arguments that may
be display and their type.
For example, you may have the following display :
eth0 Available private ioctl :
setqualthr (89F0) : set 1 byte & get 0
gethisto (89F7) : set 0 & get 16 int
This indicate that you may set the quality threshold and display an histogram of up to 16 values with the following commands :
iwpriv eth0 setqualthr 20
iwpriv eth0 gethisto
AUTHOR
Jean Tourrilhes - jt@hpl.hp.com
FILES
/proc/net/wireless
SEE ALSO
iwconfig(8), iwlist(8), iwevent(8), iwspy(8), wireless(7).
net-tools 31 October 1996 IWPRIV(8)