Sponsored Content
Full Discussion: Identifying a process
Top Forums UNIX for Beginners Questions & Answers Identifying a process Post 303038357 by Neo on Saturday 31st of August 2019 05:19:35 AM
Old 08-31-2019
No, I asked for:

Code:
sudo lsof -i | grep smtpd

and

Code:
sudo ps aux | grep smtpd

You provided the first one two times.

Please try to follow instructions carefully. Thanks.
 

10 More Discussions You Might Find Interesting

1. Solaris

Identifying new fields of data

i have hundreds of lines of formatted data with 10 different fields per line. the data is refreshed every few minutes and some fields in some lines may reflect new data. i'm looking for a sample of code that help me to identify those new fields so that i can write them to a file to indicate that... (0 Replies)
Discussion started by: davels
0 Replies

2. AIX

Identifying Semaphore Owners

Hi, I have an AIX server which has a number of root owned semaphores. Is there a way of identifying which processes/threads own these processes so that they can be removed. I there also a way to remove shared memory segments in a similar way Thanks. \ (1 Reply)
Discussion started by: backslash
1 Replies

3. UNIX for Advanced & Expert Users

identifying keyboard type

hi I am using a GUI language (based on C/C++) for my application. Now i need to identify the "Again" key in the Sun keyboard. I tried to do this by getting the ascii value (4155)of it . it was fine. but it is clashing with F12, whose ascii is 4155 in normal keyboards. Due to this either one of... (0 Replies)
Discussion started by: nimishm
0 Replies

4. Shell Programming and Scripting

Identifying RF users

HP-UX All, I work in a manufacturing environment where some users connect to our Progress-based system with wireless RF units (Bar-code). Sometimes they go out of range and get disconnected but their session remains alive (ghost sessions). This sometimes causes record lock problems and is a pain.... (6 Replies)
Discussion started by: rm-r
6 Replies

5. UNIX for Advanced & Expert Users

Identifying IO without the use of IOTop

Hey, I'm in the process of working on a script to identify IO usage on a high IO server I have setup (Debian Etch). My question is how can identify specific processes that are using much of these resources, I can identify the processes using IOTOP, but doing it remotely via script can be a pain... (1 Reply)
Discussion started by: dnbert
1 Replies

6. UNIX for Dummies Questions & Answers

Identifying the first line that has zeros

If I have a file like: 9350. 0.288426 9370. 0.320469 9390. 0.394475 9410. 0.353157 9430. 0.336001 9450. 0.336692 9470. 0.356827 9490. 0.359891 9510. 0.346305 9530. 0.356506 9550. 0.348306 9570. 0.36832 9590. 0.379067 9610. 0.0246704 9630. 0 9650. 0 9670. 0 (5 Replies)
Discussion started by: cosmologist
5 Replies

7. Shell Programming and Scripting

Identifying presence and name of new file(s)?

I have an HP-UX server that runs a script each night. The script connects to an SFTP server and downloads all xml files (if any are present) from a certain folder, and then deletes the files from the SFTP server. So sometimes it will download a new file, sometimes it will download 2 or 3 new... (4 Replies)
Discussion started by: lupin..the..3rd
4 Replies

8. UNIX for Advanced & Expert Users

Linux Swapping - identifying the process

Hi I ran the command vmstat -s , the output is below 2335876 total memory 2307284 used memory 902984 active memory 953180 inactive memory 28592 free memory 445848 buffer memory 1234196 swap cache 779872 total swap ... (3 Replies)
Discussion started by: rakeshkumar
3 Replies

9. Shell Programming and Scripting

Identifying interactive scripts

so for the purposes of this thread, interactive scripts are shell scripts that prompts for a response from a user and then waits for the user to enter a response before proceeding. now, from my understanding of this, the one common string i can expect to find in all interactive scripts is some... (1 Reply)
Discussion started by: SkySmart
1 Replies

10. Shell Programming and Scripting

Identifying cron jobs

Sometimes it is necessary to run a job in the foreground that would normally be run as an overnight cron job. When the job is run in the foreground, slightly different code may be required. Rather than having two scripts, I thought of following: #!/bin/ksh ... (3 Replies)
Discussion started by: jgt
3 Replies
ZGREP(1)                                                      General Commands Manual                                                     ZGREP(1)

NAME
zgrep - search possibly compressed files for a regular expression SYNOPSIS
zgrep [ grep_options ] [ -e ] pattern filename... DESCRIPTION
Zgrep invokes grep on compressed or gzipped files. These grep options will cause zgrep to terminate with an error code: (-[drRzZ]|--di*|--exc*|--inc*|--rec*|--nu*). All other options specified are passed directly to grep. If no file is specified, then the standard input is decompressed if necessary and fed to grep. Otherwise the given files are uncompressed if necessary and fed to grep. If the GREP environment variable is set, zgrep uses it as the grep program to be invoked. EXIT CODE
2 - An option that is not supported was specified. AUTHOR
Charles Levert (charles@comm.polymtl.ca) SEE ALSO
grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1) ZGREP(1)
All times are GMT -4. The time now is 01:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy