Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Info o izvrsenom procesu?

[es] :: Linux :: Info o izvrsenom procesu?

[ Pregleda: 2542 | Odgovora: 5 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Divjak
Vladimir Divjak
Student

Član broj: 4783
Poruke: 535
77.46.231.*



+1 Profil

icon Info o izvrsenom procesu?15.07.2007. u 23:15 - pre 204 meseci
Da li je moguće na neki način saznati informacije o izvrsenom procesu (vreme trajanja, količina korišćenje memorije, povratna vrednost)

Hvala!
And don't be mad at me for crying for humanity,
call it pretensions but I got good intentions,
to keep my sanity, I'm hoping, fuck, there's gotta be
an answer to their strategies and their evil inventions... ~Looptroop
 
Odgovor na temu

Jbyn4e

Član broj: 422
Poruke: 6049
*.ptt.yu.



+257 Profil

icon Re: Info o izvrsenom procesu?16.07.2007. u 05:35 - pre 204 meseci
Ako stavis proces u shell script, mozes pre i posle njega staviti date komandu pa videti razliku, staviti ispisivanje staja memorije pre i posle procesa, preusmeriti to u neki log fajl pa videti sta si dobio. Da li to moze nekako drugacije - ne znam, nije me interesovalo.
Kad sve ostalo zakaže, pročitaj uputstvo...
 
Odgovor na temu

Džeronimo

Član broj: 101777
Poruke: 320
*.adsl-1.sezampro.yu.



Profil

icon Re: Info o izvrsenom procesu?16.07.2007. u 06:54 - pre 204 meseci
Je l' misliš na nešto ovako:



Ako na to misliš, to ima u Gnome radnom okruženju pod System > Administration > System Monitor
Prikačeni fajlovi
 
Odgovor na temu

Divjak
Vladimir Divjak
Student

Član broj: 4783
Poruke: 535
77.46.231.*



+1 Profil

icon Re: Info o izvrsenom procesu?16.07.2007. u 07:00 - pre 204 meseci
Pa ne baš...
Mislio sam kada ja npr. napišem dva programa pa hoću da vidim koji brže radi...
Da li nekako mogu videti neku statistiku o njihovom izvršavanju?

And don't be mad at me for crying for humanity,
call it pretensions but I got good intentions,
to keep my sanity, I'm hoping, fuck, there's gotta be
an answer to their strategies and their evil inventions... ~Looptroop
 
Odgovor na temu

caiser

Član broj: 4677
Poruke: 2462
*.de.ibm.com.

ICQ: 162962030


Profil

icon Re: Info o izvrsenom procesu?16.07.2007. u 07:36 - pre 204 meseci
Probaj time komandu.

Code:
[ home src ] # time ls /
bin  boot  dev  etc  home  lib  lost+found  media  misc  mnt  net  opt  proc  root  sbin  selinux  service  srv  sys  tmp  usr  var

real    0m0.030s
user    0m0.000s
sys     0m0.004s


Code:
NAME
       time - time a simple command or give resource usage

SYNOPSIS
       time [options] command [arguments...]

DESCRIPTION
       The  time command runs the specified program command with the given arguments.  When command finishes, time writes
       a message to standard error giving timing statistics about this program run.  These statistics consist of (i)  the
       elapsed  real  time  between  invocation  and  termination,  (ii)  the user CPU time (the sum of the tms_utime and
       tms_cutime values in a struct tms as returned by times(2)), and  (iii)  the  system  CPU  time  (the  sum  of  the
       tms_stime and tms_cstime values in a struct tms as returned by times(2)).

 
Odgovor na temu

Divjak
Vladimir Divjak
Student

Član broj: 4783
Poruke: 535
77.46.231.*



+1 Profil

icon Re: Info o izvrsenom procesu?16.07.2007. u 14:19 - pre 204 meseci
Hvala, na ovo sam mislio... (očigledno ne samo na ovo, ali što se tiče vremena)
And don't be mad at me for crying for humanity,
call it pretensions but I got good intentions,
to keep my sanity, I'm hoping, fuck, there's gotta be
an answer to their strategies and their evil inventions... ~Looptroop
 
Odgovor na temu

[es] :: Linux :: Info o izvrsenom procesu?

[ Pregleda: 2542 | Odgovora: 5 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.