10-27-2009
Thanks, we went with parsing more fields from the ps output to make it a more robust pattern to test for.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Trying to alias rm to move files to a hidden trash directory in the bash shell. I've tried to create this alias numberous ways and it's just not working. Here's what I've tried, anyone have any suggestions.
alias rm='mv $* ~/.trash'
alias rm= 'mv$* ~/.trash'
things like that... I've also... (2 Replies)
Discussion started by: strmy_ngts
2 Replies
2. UNIX for Dummies Questions & Answers
1. If I use an software application(which connects to the database in the server) in my local pc, how many PID should be registered? Would there be PID for the session and another PID for socket connection?
2. I noticed (through netstat) that when I logged in using the my software application,... (1 Reply)
Discussion started by: pcx26
1 Replies
3. AIX
Hello,
On a AIX 5.3.5.0 server, we have PID exceeding 999999. This cause some troubles in our programms.
I would like to know the process creation rules on aix :
- what is the maximum pid number ?
- what is the wrap limit on aix, and where to find it, how to configure pid wrap limit ?
-... (3 Replies)
Discussion started by: astjen
3 Replies
4. UNIX for Dummies Questions & Answers
Hello guys,
How to shut down a port number in AIX.
May be first I need to find out what is the process ID of that process that listens to this particular port.. Is there any command to find a process ID from the port number other than "lsof".
thanks (1 Reply)
Discussion started by: solaix14
1 Replies
5. AIX
Hi All,
I searched other threads and could not find any relevant post about this.
I searched for process 0 in SUN OS and could find the sched/swapper process listed.
root 0 0 0 Apr 25 ? 0:06 sched
but i couldnt not find the swapper process (PID 0) in AIX. Is that... (4 Replies)
Discussion started by: quintet
4 Replies
6. UNIX for Advanced & Expert Users
hi.........
can anyone suggest me how n where can i find the module used for recycling logs in Unix(some .so file is used i suppose).till date i have done it with scripting but maintaining the script is becoming difficult.
many2 thanx in advance
-manuj (2 Replies)
Discussion started by: manuj upadhyay
2 Replies
7. UNIX for Advanced & Expert Users
Hi
I have an IBM AIX 5.3 64Bit running with 64bit application (Kernel runs on 64bit also).
I changed the maximum proccesses per user to the maximum.
Currently the pids of proccesses in the system using 5 digits (<100000).
Is it possible to make the system use pids bigger then 4500000? I need it... (6 Replies)
Discussion started by: idana
6 Replies
8. Web Development
Hello everyone...I am very new to UNIX hence needs your help in below.
i have written a script to change some configuration in property files and its working fine.but to reflect that change at the application i want to recycle WAS and ihs.i.e. run below start and stop commands at /usr/local/bin ... (2 Replies)
Discussion started by: Sanaa
2 Replies
9. AIX
Hi,
Below is the code snippet I use on Linux (Centos) to retrieve the Process Name, PID and memory consumed on Linux (Centos) host:-
top -b -n 1 | awk -v date="$tdydate" -v ip="$ip" 'NR>7 {print date","ip","$12,","$1,","$10}'
Any idea how the same can be retrieved on an AIX host? This... (1 Reply)
Discussion started by: Vipin Batra
1 Replies
10. AIX
Hi All,
I am using netstat on AIX to grep info on all open connections. However, unlike on Linux(Centos), I do not get the PID and program name using netstat on AIX.
I need this info to be clubbed along with the information retrieved using netstat version of AIX. Is there a way this can be... (1 Reply)
Discussion started by: Vipin Batra
1 Replies
lptest(1B) SunOS/BSD Compatibility Package Commands lptest(1B)
NAME
lptest - generate line printer ripple pattern
SYNOPSIS
/usr/ucb/lptest [ length [count]]
DESCRIPTION
The lptest utility writes the traditional ripple test pattern to the standard output. In 96 lines, the ripple test pattern prints all 96
printable ASCII characters in each position. The ripple test pattern was originally created to test printers. It is also useful for test-
ing terminals, driving terminal ports, debugging, and performing tasks that require a quick supply of random data.
This command is obsolete.
OPTIONS
length Specifies the length of the output line in characters. 79 characters is the default.
count Specifies the number of output lines. 200 lines is the default. If count is specified, length must also be specified.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscplp |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
SunOS 5.10 9 Sep 1996 lptest(1B)