10 More Discussions You Might Find Interesting
1. HP-UX
I have 4 HPUX 11.31 servers with the same Quality Pack bundles. "AS FAR AS I CAN TELL" no system files have been modified.
/usr/bin/ps is the same date size and creation date
terminfo file (x-->xterm) is the same date size and creation date
shell (ksh) is the same date size and creation date
... (4 Replies)
Discussion started by: mrmurdock
4 Replies
2. Shell Programming and Scripting
I'm trying to create a ksh script to do the following:
1) Ask the user what process they want to search for.
2) Have the script read the input as a variable and use it to search for the process.
3) Display the current time & date, the working directory of the process, and finally display the... (6 Replies)
Discussion started by: seekryts15
6 Replies
3. AIX
Hello,
I would like to get the full username when I run the command 'lpstat'. I've tried using the tags -t and -W, but nothing works.
It seems that the username has a fixed length. However I need the complete name.
Thanks a lot! (2 Replies)
Discussion started by: ribaldo
2 Replies
4. UNIX for Dummies Questions & Answers
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"... (3 Replies)
Discussion started by: happy_lotus
3 Replies
5. Shell Programming and Scripting
Hi,
I have a problem.
Suppose there's a process running in background which has many arguments, does anyone know how I can display all the arguments?
I tried both commands ‘ps -o args -fu erwin' and ‘pgrep -f proc_name' but they show only 80 characters which is not enough to display all... (3 Replies)
Discussion started by: ermur
3 Replies
6. Programming
Hi , Could you tell me if I am right
1. Using fork(), pipe(), execlp() and dup() (see man 2 dup), write a C program executing the command ps -j in a parent process, displaying the result in a child process.
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>... (7 Replies)
Discussion started by: remid1985
7 Replies
7. AIX
Hi,
I am running java process that has a long command line.
Is there a way to get the full command line?
By running ps -ef has returns around 2000 chars
By running ps eww returns around 2020 chars
I am running on AIX 5.3
Thanks,
Fredy (0 Replies)
Discussion started by: fredy
0 Replies
8. 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
9. AIX
On AIX 5.2, I use "ps -ef " command to display the process status, the field of command looks like: , the detailed contents are:
# ps -ef |grep rtesfmrt
Display:
osa 32455 1 0 18:20 - 1:57
The origianl format shoud be:
osa 32455 1 0 18:20 - 1:57 ... (2 Replies)
Discussion started by: Frank2004
2 Replies
10. UNIX for Advanced & Expert Users
hi guys
i give "ps -ef | grep some_executable_file" on the command line.
this "some_executable_file" resides on many paths which r included in the PATH environment variable, so the output depicts only "some_executable_file" in the COMMAND column. how can i get the full path?
thanx (3 Replies)
Discussion started by: xtrix
3 Replies