Sponsored Content
Full Discussion: processnaming
Top Forums UNIX for Dummies Questions & Answers processnaming Post 20920 by sdemba on Tuesday 7th of May 2002 04:26:19 PM
Old 05-07-2002
processnaming

I am confused of what a processes name is considered to be. Maybe answers the following questions may clear it up for me.

1) Is a processname the same thing as a UID?
2) What other ways can you name a process?

After doing a ps -ef cmd, amoung other output I extracted the following that seems to relate to me:

UID PID PPID C STIME TTY TIME CMD
root 9956 3572 0.0 16:00:31 ttyp6 0:00.04 ps -ef
steve 10046 3546 0.0 15:59:53 ttypc 0:00.04 emacs file.txt
steve 8185 3546 0.0 15:59:50 ttypc 0:00.04 emacs file.txt
steve 9860 3546 0.0 15:59:56 ttypc 0:00.04 emacs file.txt
steve 9290 8325 0.0 15:12:51 ttyp8 0:00.06 -csh (csh)
steve 3546 3348 0.0 08:23:42 ttypc 0:00.70 -csh (csh)
steve 10047 9290 0.0 15:57:53 ttyp8 0:00.02 vi finq9

If I execute the following command:

steve> ps -ef | grep processname | awk '{printf $1 " " $2 " " $3 "\n"}'

I get this output:

steve 7001 3572

3) Is Steve the process name?
4) Why does root show up as the UID when I do the ps -ef command?
5) bonus question: is a process by any other name still a process? (just kidding)


regards and thanks...

Steve
 
DPKG-PRECONFIGURE(8)						      Debconf						      DPKG-PRECONFIGURE(8)

NAME
dpkg-preconfigure - let packages ask questions prior to their installation SYNOPSIS
dpkg-preconfigure [options] package.deb dpkg-preconfigure --apt DESCRIPTION
dpkg-preconfigure lets packages ask questions before they are installed. It operates on a set of debian packages, and all packages that use debconf will have their config script run so they can examine the system and ask questions. OPTIONS
-ftype, --frontend=type Select the frontend to use. -pvalue, --priority=value Set the lowest priority of questions you are interested in. Any questions with a priority below the selected priority will be ignored and their default answers will be used. --terse Enables terse output mode. This affects only some frontends. --apt Run in apt mode. It will expect to read a set of package filenames from stdin, rather than getting them as parameters. Typically this is used to make apt run dpkg-preconfigure on all packages before they are installed. To do this, add something like this to /etc/apt/apt.conf: // Pre-configure all packages before // they are installed. DPkg::Pre-Install-Pkgs { "dpkg-preconfigure --apt --priority=low"; }; -h, --help Display usage help. SEE ALSO
debconf(7) AUTHOR
Joey Hess <joeyh@debian.org> 2018-02-28 DPKG-PRECONFIGURE(8)
All times are GMT -4. The time now is 02:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy