Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet221/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   217   218   219   220   221   222   223   224   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 167 
]
The output will give you the PID(s) of the process without you having to use the 
ps
 
command.
Configuring arguments to ps
Continuing with the 
ps
 command, there are several useful arguments you can give 
in order to change the way in which it produces an output. If you use the 
a
 option, 
you'll see more information than you normally would:
ps a 
This will produce an output something like the following:
Figure 7.3: The output of the ps a command
With 
ps a
, we're seeing the same output as before, but with additional information, 
as well as column headings at the top. We now see a heading for 
PID

TTY

STAT

TIME
, and 
COMMAND
. From this new output, you can see that the 
vim
 processes I have 
running are editing a file named 
testfile
. This is great to know, because if I had 
more than one 
vim
 session open and one of them was misbehaving, I would probably 
want to know which one I specifically needed to stop.
We already saw the 
PID
 and 
COMMAND
 fields, although we didn't see a formal heading 
at the top. The 
PID
 column we've already covered, so I won't go into any additional 
detail about that. The 
COMMAND
 field tells us the actual command being run, which is 
very useful if we either want to ensure we're managing the correct process or to see 
what a particular user is running (I'll demonstrate how to display processes for other 
users soon).


Controlling and Managing Processes

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   217   218   219   220   221   222   223   224   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish