Sponsored Content
Full Discussion: Identifying a process
Top Forums UNIX for Beginners Questions & Answers Identifying a process Post 303038352 by brijan007 on Saturday 31st of August 2019 04:41:17 AM
Old 08-31-2019
Identifying a process

morning,
i introduce the following sentence:
Code:
"sudo lsof -i | grep smtp"

ang get a list of the processes. two of them i don't know what is the function: 29574 & 29575, with the following indication: "memo" the rest of the processes shown are smtpd. i kill these two processes and they disappear, however, after some minutes they reappear.
what sre these processes?
i would like to know.
thank you for your support.
regards.
 

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
pid(3tcl)						       Tcl Built-In Commands							 pid(3tcl)

__________________________________________________________________________________________________________________________________________________

NAME
pid - Retrieve process identifiers SYNOPSIS
pid ?fileId? _________________________________________________________________ DESCRIPTION
If the fileId argument is given then it should normally refer to a process pipeline created with the open command. In this case the pid command will return a list whose elements are the process identifiers of all the processes in the pipeline, in order. The list will be empty if fileId refers to an open file that is not a process pipeline. If no fileId argument is given then pid returns the process identi- fier of the current process. All process identifiers are returned as decimal strings. EXAMPLE
Print process information about the processes in a pipeline using the SysV ps program before reading the output of that pipeline: set pipeline [open "| zcat somefile.gz | grep foobar | sort -u"] # Print process information exec ps -fp [pid $pipeline] >@stdout # Print a separator and then the output of the pipeline puts [string repeat - 70] puts [read $pipeline] close $pipeline SEE ALSO
exec(3tcl), open(3tcl) KEYWORDS
file, pipeline, process identifier Tcl 7.0 pid(3tcl)
All times are GMT -4. The time now is 09:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy