|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
Misurare la quantità di memoria utilizzata da un programma a run-time.
Come si può fare? Che strumenti si possono utilizzare?
Ovviamente si dispone soltanto dell'eseguibile senza i sorgenti. |
|
|
|
|
|
#2 | |
|
Senior Member
Iscritto dal: Nov 2005
Città: Texas
Messaggi: 1722
|
Quote:
Stai cercando questo?
__________________
In God we trust; all others bring data |
|
|
|
|
|
|
#3 | |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
Quote:
Grazie mille per il link! Anche coi soliti strumenti(che non conosco Mi servirebbe qualcosa anche per Linux. |
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: May 2007
Città: Milano
Messaggi: 7103
|
ps -ax (o ancor meglio ps -ef )e top soco tuoi amici
__________________
Apple Watch Ultra + iPhone 15 Pro Max + Rog Ally + Legion Go |
|
|
|
|
|
#5 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
|
|
|
|
|
|
#6 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
![]() Come lo uso? Se ho un eseguibile chiamato "myapp" come faccio a misurare la memoria utilizzata? |
|
|
|
|
|
#7 | |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
.
Quote:
|
|
|
|
|
|
|
#8 |
|
Senior Member
Iscritto dal: May 2007
Città: Milano
Messaggi: 7103
|
su top, lo digiti su cli e poi cerchi a occhio dov'è il prog. (htop è più grafico)
Trovi info su memoria e cpu occupate. Su ps vedi info su pid e interdipendenze, con ps ef
__________________
Apple Watch Ultra + iPhone 15 Pro Max + Rog Ally + Legion Go |
|
|
|
|
|
#9 |
|
Senior Member
Iscritto dal: May 2007
Città: Milano
Messaggi: 7103
|
e con strace (o truss) puoi seguire, con il PID, le chiamate di sistema di ogni processo ( a cui hai accesso con UID/GID)
__________________
Apple Watch Ultra + iPhone 15 Pro Max + Rog Ally + Legion Go |
|
|
|
|
|
#10 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
Questo è l'output di top mentre eseguo il mio programma per il contest 19 punto B.1:
![]() E con ps invece? c'aggià fà? |
|
|
|
|
|
#11 |
|
Senior Member
Iscritto dal: May 2007
Città: Milano
Messaggi: 7103
|
ps ti da PID e varie dipendenze.
Con ef hai un tree di come sono graticamente.
__________________
Apple Watch Ultra + iPhone 15 Pro Max + Rog Ally + Legion Go |
|
|
|
|
|
#12 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
|
|
|
|
|
|
#13 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
ps mi da un fottiò di righe:
Codice:
UID PID PPID C STIME TTY TIME CMD root 1 0 0 13:26 ? 00:00:00 /sbin/init root 2 0 0 13:26 ? 00:00:00 [kthreadd] root 3 2 0 13:26 ? 00:00:06 [ksoftirqd/0] root 6 2 0 13:26 ? 00:00:00 [migration/0] root 7 2 0 13:26 ? 00:00:00 [watchdog/0] root 8 2 0 13:26 ? 00:00:00 [migration/1] root 10 2 0 13:26 ? 00:00:07 [ksoftirqd/1] root 11 2 0 13:26 ? 00:00:00 [watchdog/1] root 12 2 0 13:26 ? 00:00:00 [cpuset] root 13 2 0 13:26 ? 00:00:00 [khelper] root 14 2 0 13:26 ? 00:00:00 [kdevtmpfs] root 15 2 0 13:26 ? 00:00:00 [netns] root 16 2 0 13:26 ? 00:00:00 [kworker/u:1] root 17 2 0 13:26 ? 00:00:00 [sync_supers] root 18 2 0 13:26 ? 00:00:00 [bdi-default] root 19 2 0 13:26 ? 00:00:00 [kintegrityd] root 20 2 0 13:26 ? 00:00:00 [kblockd] root 21 2 0 13:26 ? 00:00:00 [ata_sff] root 22 2 0 13:26 ? 00:00:00 [khubd] root 23 2 0 13:26 ? 00:00:00 [md] root 26 2 0 13:26 ? 00:00:00 [khungtaskd] root 27 2 0 13:26 ? 00:00:00 [kswapd0] root 28 2 0 13:26 ? 00:00:00 [ksmd] root 29 2 0 13:26 ? 00:00:00 [khugepaged] root 30 2 0 13:26 ? 00:00:00 [fsnotify_mark] root 31 2 0 13:26 ? 00:00:00 [ecryptfs-kthrea] root 32 2 0 13:26 ? 00:00:00 [crypto] root 41 2 0 13:26 ? 00:00:00 [kthrotld] root 42 2 0 13:26 ? 00:00:00 [scsi_eh_0] root 43 2 0 13:26 ? 00:00:00 [scsi_eh_1] root 44 2 0 13:26 ? 00:00:00 [scsi_eh_2] root 45 2 0 13:26 ? 00:00:00 [scsi_eh_3] root 48 2 0 13:26 ? 00:00:00 [kworker/u:4] root 50 2 0 13:26 ? 00:00:00 [binder] root 70 2 0 13:26 ? 00:00:00 [deferwq] root 71 2 0 13:26 ? 00:00:00 [charger_manager] root 72 2 0 13:26 ? 00:00:00 [devfreq_wq] root 214 2 0 13:26 ? 00:00:00 [scsi_eh_4] root 216 2 0 13:26 ? 00:00:00 [scsi_eh_5] root 238 2 0 13:26 ? 00:00:00 [kdmflush] root 240 2 0 13:26 ? 00:00:00 [kdmflush] root 255 2 0 13:26 ? 00:00:00 [jbd2/dm-0-8] root 256 2 0 13:26 ? 00:00:00 [ext4-dio-unwrit] root 274 2 0 13:26 ? 00:00:00 [flush-252:0] root 547 1 0 13:26 ? 00:00:00 upstart-udev-bridge --daemon root 566 1 0 13:26 ? 00:00:00 /sbin/udevd --daemon 102 571 1 0 13:26 ? 00:00:00 dbus-daemon --system --fork root 595 1 0 13:26 ? 00:00:00 /usr/sbin/bluetoothd syslog 625 1 0 13:26 ? 00:00:01 rsyslogd -c5 avahi 627 1 0 13:26 ? 00:00:00 avahi-daemon: running [Ubuntu12- avahi 628 627 0 13:26 ? 00:00:00 avahi-daemon: chroot helper root 643 2 0 13:26 ? 00:00:00 [krfcommd] root 686 1 0 13:26 ? 00:00:00 /usr/sbin/cupsd -F root 700 2 0 13:26 ? 00:00:00 [ttm_swap] root 727 2 0 13:26 ? 00:00:00 [kpsmoused] root 731 2 0 13:26 ? 00:00:00 [edac-poller] root 738 2 0 13:26 ? 00:00:00 [kvm-irqfd-clean] root 811 2 0 13:26 ? 00:00:00 [hd-audio0] root 871 1 0 13:26 ? 00:00:00 /usr/sbin/modem-manager root 883 1 0 13:26 ? 00:00:00 NetworkManager root 893 1 0 13:26 ? 00:00:00 /usr/lib/policykit-1/polkitd --n root 902 1 0 13:26 ? 00:00:00 upstart-socket-bridge --daemon root 986 1 0 13:26 tty4 00:00:00 /sbin/getty -8 38400 tty4 root 995 1 0 13:26 tty5 00:00:00 /sbin/getty -8 38400 tty5 root 1011 1 0 13:26 tty2 00:00:00 /sbin/getty -8 38400 tty2 root 1013 1 0 13:26 tty3 00:00:00 /sbin/getty -8 38400 tty3 root 1016 1 0 13:26 tty6 00:00:00 /sbin/getty -8 38400 tty6 root 1048 1 0 13:26 ? 00:00:00 acpid -c /etc/acpi/events -s /va whoopsie 1049 1 0 13:26 ? 00:00:00 whoopsie root 1068 1 0 13:26 ? 00:00:00 /usr/sbin/irqbalance root 1073 1 0 13:26 ? 00:00:00 cron daemon 1074 1 0 13:26 ? 00:00:00 atd root 1110 1 0 13:26 ? 00:00:00 lightdm mysql 1138 1 0 13:26 ? 00:00:12 /usr/sbin/mysqld root 1191 1110 6 13:26 tty7 00:08:53 /usr/bin/X :0 -core -auth /var/r postgres 1231 1 0 13:26 ? 00:00:00 /usr/lib/postgresql/9.1/bin/post root 1251 1 0 13:26 ? 00:00:00 /usr/lib/accountsservice/account root 1269 1 0 13:26 ? 00:00:00 /usr/sbin/console-kit-daemon --n root 1353 883 0 13:26 ? 00:00:00 /sbin/dhclient -d -4 -sf /usr/li root 1417 1 0 13:26 ? 00:00:00 /usr/lib/upower/upowerd postgres 1448 1231 0 13:26 ? 00:00:01 postgres: writer process postgres 1449 1231 0 13:26 ? 00:00:01 postgres: wal writer process postgres 1451 1231 0 13:26 ? 00:00:00 postgres: autovacuum launcher pr postgres 1452 1231 0 13:26 ? 00:00:00 postgres: stats collector proces root 1477 1110 0 13:26 ? 00:00:00 lightdm --session-child 12 21 colord 1575 1 0 13:26 ? 00:00:00 /usr/lib/x86_64-linux-gnu/colord rtkit 1656 1 0 13:26 ? 00:00:00 /usr/lib/rtkit/rtkit-daemon lightdm 1746 1 0 13:26 ? 00:00:00 /usr/lib/evolution/evolution-cal nobody 1758 883 0 13:27 ? 00:00:01 /usr/sbin/dnsmasq --no-resolv -- root 1856 1 0 13:27 ? 00:00:00 /usr/sbin/apache2 -k start www-data 1879 1856 0 13:27 ? 00:00:00 /usr/sbin/apache2 -k start www-data 1880 1856 0 13:27 ? 00:00:00 /usr/sbin/apache2 -k start www-data 1881 1856 0 13:27 ? 00:00:00 /usr/sbin/apache2 -k start www-data 1882 1856 0 13:27 ? 00:00:00 /usr/sbin/apache2 -k start www-data 1883 1856 0 13:27 ? 00:00:00 /usr/sbin/apache2 -k start root 1902 1 0 13:27 tty1 00:00:00 /sbin/getty -8 38400 tty1 vincenzo 2041 1 0 13:27 ? 00:00:00 /usr/bin/gnome-keyring-daemon -- vincenzo 2052 1477 0 13:27 ? 00:00:00 gnome-session --session=ubuntu vincenzo 2088 2052 0 13:27 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/dbus vincenzo 2091 1 0 13:27 ? 00:00:00 /usr/bin/dbus-launch --exit-with vincenzo 2092 1 0 13:27 ? 00:00:05 //bin/dbus-daemon --fork --print vincenzo 2094 1 0 13:27 ? 00:00:00 /usr/lib/at-spi2-core/at-spi-bus vincenzo 2098 2094 0 13:27 ? 00:00:00 /bin/dbus-daemon --config-file=/ vincenzo 2101 1 0 13:27 ? 00:00:02 /usr/lib/at-spi2-core/at-spi2-re vincenzo 2114 2052 0 13:27 ? 00:00:05 /usr/lib/gnome-settings-daemon/g vincenzo 2120 1 0 13:27 ? 00:00:00 /usr/lib/gvfs/gvfsd vincenzo 2124 1 0 13:27 ? 00:00:00 /usr/lib/gvfs//gvfsd-fuse -f /ru vincenzo 2137 2052 3 13:27 ? 00:04:15 compiz vincenzo 2143 1 0 13:27 ? 00:00:00 /usr/lib/dconf/dconf-service vincenzo 2151 1 0 13:27 ? 00:00:01 /usr/bin/pulseaudio --start --lo vincenzo 2153 2052 0 13:27 ? 00:00:00 nm-applet vincenzo 2154 2052 0 13:27 ? 00:00:00 bluetooth-applet vincenzo 2155 2052 0 13:27 ? 00:00:00 /usr/lib/policykit-1-gnome/polki vincenzo 2156 2052 0 13:27 ? 00:00:00 /usr/lib/gnome-settings-daemon/g vincenzo 2159 2151 0 13:27 ? 00:00:00 /usr/lib/pulseaudio/pulse/gconf- vincenzo 2161 1 0 13:27 ? 00:00:00 /usr/lib/x86_64-linux-gnu/gconf/ vincenzo 2185 1 0 13:27 ? 00:00:00 /usr/lib/gvfs/gvfs-udisks2-volum root 2189 1 0 13:27 ? 00:00:00 /usr/lib/udisks2/udisksd --no-de vincenzo 2198 1 0 13:27 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volum vincenzo 2204 1 0 13:27 ? 00:00:00 /usr/lib/gvfs/gvfs-afc-volume-mo vincenzo 2214 1 0 13:27 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spaw vincenzo 2224 1 0 13:27 ? 00:00:00 /usr/lib/gvfs/gvfsd-burn --spawn vincenzo 2232 1 0 13:27 ? 00:00:06 /usr/lib/bamf/bamfdaemon vincenzo 2236 2137 0 13:27 ? 00:00:00 /bin/sh -c /usr/bin/gtk-window-d vincenzo 2237 2236 0 13:27 ? 00:00:04 /usr/bin/gtk-window-decorator vincenzo 2250 1 0 13:27 ? 00:00:18 /usr/lib/unity/unity-panel-servi vincenzo 2252 1 0 13:27 ? 00:00:08 /usr/lib/indicator-appmenu/hud-s vincenzo 2266 1 0 13:27 ? 00:00:00 /usr/lib/indicator-sound/indicat vincenzo 2270 1 0 13:27 ? 00:00:00 /usr/lib/indicator-datetime/indi vincenzo 2271 1 0 13:27 ? 00:00:00 /usr/lib/indicator-messages/indi vincenzo 2274 1 0 13:27 ? 00:00:00 /usr/lib/x86_64-linux-gnu/indica vincenzo 2275 1 0 13:27 ? 00:00:00 /usr/lib/indicator-printers/indi vincenzo 2276 1 0 13:27 ? 00:00:00 /usr/lib/indicator-session/indic vincenzo 2303 1 0 13:27 ? 00:00:00 /usr/lib/evolution/evolution-sou vincenzo 2320 1 0 13:27 ? 00:00:00 /usr/lib/gnome-online-accounts/g vincenzo 2326 1 0 13:27 ? 00:00:00 /usr/lib/geoclue/geoclue-master vincenzo 2341 1 0 13:27 ? 00:00:00 /usr/lib/ubuntu-geoip/ubuntu-geo vincenzo 2351 2052 0 13:27 ? 00:00:00 telepathy-indicator vincenzo 2357 1 0 13:27 ? 00:00:00 /usr/lib/telepathy/mission-contr vincenzo 2364 1 0 13:27 ? 00:00:00 /usr/bin/signon-ui vincenzo 2368 2052 0 13:27 ? 00:00:03 zeitgeist-datahub vincenzo 2374 1 0 13:27 ? 00:00:00 /usr/bin/zeitgeist-daemon vincenzo 2380 1 0 13:27 ? 00:00:00 /usr/lib/zeitgeist/zeitgeist-fts vincenzo 2388 2380 0 13:27 ? 00:00:00 /bin/cat vincenzo 2401 1 0 13:27 ? 00:00:02 /usr/bin/python /usr/lib/ubuntuo vincenzo 2449 1 0 13:27 ? 00:00:49 nautilus trash:// vincenzo 2461 1 0 13:27 ? 00:00:00 /usr/lib/unity-lens-applications vincenzo 2465 1 0 13:27 ? 00:00:00 /usr/lib/unity-lens-files/unity- vincenzo 2467 1 0 13:27 ? 00:00:00 /usr/lib/gwibber/unity-gwibber-d vincenzo 2470 1 0 13:27 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity- vincenzo 2472 1 0 13:27 ? 00:00:00 /usr/bin/python3 /usr/lib/unity- vincenzo 2473 1 0 13:27 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity- vincenzo 2475 1 0 13:27 ? 00:00:00 /usr/bin/python /usr/lib/unity-l vincenzo 2540 1 0 13:27 ? 00:00:00 /usr/lib/gvfs/gvfsd-metadata vincenzo 2558 1 0 13:27 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity- vincenzo 2560 1 0 13:27 ? 00:00:00 /usr/bin/python3 /usr/lib/unity- vincenzo 2561 1 0 13:27 ? 00:00:00 /usr/bin/python /usr/lib/unity-s vincenzo 2599 2052 0 13:28 ? 00:00:00 update-notifier root 2678 566 0 13:29 ? 00:00:00 /sbin/udevd --daemon root 2679 566 0 13:29 ? 00:00:00 /sbin/udevd --daemon vincenzo 2684 2052 0 13:29 ? 00:00:00 /usr/lib/x86_64-linux-gnu/deja-d vincenzo 2715 1 0 13:29 ? 00:00:00 /usr/lib/libunity-webapps/unity- vincenzo 4064 1 35 14:44 ? 00:18:20 /usr/lib/firefox/firefox vincenzo 4260 1 0 14:57 ? 00:00:06 gnome-terminal vincenzo 4269 4260 0 14:57 ? 00:00:00 gnome-pty-helper vincenzo 4368 1 0 15:01 ? 00:00:00 kdeinit4: kdeinit4 Running... vincenzo 4371 4368 0 15:01 ? 00:00:00 kdeinit4: klauncher [kdeinit] -- vincenzo 4373 1 0 15:01 ? 00:00:00 kdeinit4: kded4 [kdeinit] root 4380 1 0 15:01 ? 00:00:00 /usr/lib/udisks/udisks-daemon root 4381 4380 0 15:01 ? 00:00:00 udisks-daemon: not polling any d vincenzo 4389 1 0 15:01 ? 00:00:01 /usr/bin/knotify4 vincenzo 4393 1 0 15:01 ? 00:00:00 /usr/lib/notify-osd/notify-osd vincenzo 4436 4064 3 15:02 ? 00:01:17 /usr/lib/firefox/plugin-containe root 4650 2 0 15:20 ? 00:00:01 [kworker/0:1] root 4652 2 0 15:22 ? 00:00:01 [kworker/1:2] vincenzo 4683 4260 0 15:25 pts/2 00:00:00 bash root 4737 2 0 15:26 ? 00:00:01 [kworker/0:2] root 4762 2 0 15:27 ? 00:00:00 [kworker/1:1] root 4833 2 0 15:31 ? 00:00:00 [kworker/0:0] vincenzo 4901 4260 0 15:36 pts/1 00:00:00 bash vincenzo 4951 4901 0 15:36 pts/1 00:00:00 ps -ef |
|
|
|
|
|
#14 |
|
Senior Member
Iscritto dal: May 2007
Città: Milano
Messaggi: 7103
|
ti do un esempio del mio ps ef cosi capisci meglio
Codice:
PID TTY STAT TIME COMMAND 3674 tty1 S 0:00 -bash TERM=linux HOME=/home/lucas SHELL=/bin/bash USER=lucas LOGNAME=lucas PATH=/usr/local/bin: 3759 tty1 S+ 0:00 \_ /bin/sh /usr/bin/startx SHELL=/bin/bash TERM=linux XDG_SESSION_COOKIE= 3776 tty1 S+ 0:00 \_ xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.CbM2y 3785 tty1 S 0:00 \_ /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session x-session-manag 3821 tty1 S 0:00 \_ /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc MAIL=/var/mail/lucas 3839 tty1 S 0:02 \_ xscreensaver -no-splash MAIL=/var/mail/lucas USER=lucas SSH_AGENT_PID=3812 3841 tty1 Sl 0:02 \_ xfce4-session MAIL=/var/mail/lucas USER=lucas SSH_AGENT_PID=3812 SHLVL=1 PE 3850 tty1 S 0:03 \_ xfwm4 --display :0.0 --sm-client-id 2b0ef8c8e-4323-46a8-9302-b9cd5dd23c 3855 tty1 Sl 0:02 \_ Thunar --sm-client-id 3860 tty1 Sl 0:09 \_ xfce4-panel --display :0.0 --sm-client-id 3879 tty1 S 0:00 | \_ /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper /usr/lib/x86_64-linux 3886 tty1 S 1:48 | \_ /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-netload-plugin 3887 tty1 S 0:01 | \_ /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper /usr/lib/x86_64-linux 3888 tty1 Sl 0:00 | \_ /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-mixer-plugin 1 3861 tty1 Sl 0:01 \_ xfdesktop --display :0.0 --sm-client-id 4295 tty1 SLl 7:26 \_ /usr/lib/chromium/chromium --password-store=detect 4299 tty1 S 0:06 \_ /usr/lib/chromium/chromium --password-store=detect 4300 tty1 S 0:00 \_ /usr/lib/chromium/chromium-sandbox /usr/lib/chromium/chromium - 4302 tty1 S 0:00 | \_ /usr/lib/chromium/chromium --type=zygote 4305 tty1 S 0:00 | \_ /usr/lib/chromium/chromium --type=zygote 4325 tty1 Sl 2:30 | \_ /usr/lib/chromium/chromium --type=renderer --lang=e 4329 tty1 Sl 0:18 | \_ /usr/lib/chromium/chromium --type=renderer --lang=e 18969 tty1 Sl 0:15 | \_ /usr/lib/chromium/chromium --type=renderer --lang=e 21383 tty1 Sl 0:04 | \_ /usr/lib/chromium/chromium --type=renderer --lang=e 25423 tty1 Sl 0:00 | \_ /usr/lib/chromium/chromium --type=renderer --lang=e 25431 tty1 Sl 0:02 | \_ /usr/lib/chromium/chromium --type=renderer --lang=e 4400 tty1 Sl 0:01 \_ /usr/lib/chromium/chromium --type=plugin --plugin-path=/home/lu 23725 tty1 Sl 0:00 xfce4-terminal MAIL=/var/mail/lucas USER=lucas SSH_AGENT_PID=3812 SHLVL=1 PERL_LOCAL_LIB_ROOT=/ 23726 tty1 S 0:00 \_ gnome-pty-helper 23727 pts/0 Ss 0:00 \_ bash PERL_LOCAL_LIB_ROOT=/home/lucas/perl5 XDG_CONFIG_DIRS=/etc/xdg HUSHLOGIN=FALSE SHLVL=1 25475 pts/0 R+ 0:00 \_ ps ef SSH_AGENT_PID=3812 GPG_AGENT_INFO=/home/lucas/.cache/keyring-yMDiWe/gpg:0:1 GLADE 3890 tty1 Sl 0:00 /usr/lib/notification-daemon/notification-daemon MAIL=/var/mail/lucas USER=lucas SSH_AGENT_PID= 3884 tty1 S 0:00 /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py --tray GNOME_KEYRING_PID=3848 MAIL=/var/m 3878 tty1 Sl 0:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 MAIL=/var/mail/lucas USER=lucas 3864 tty1 S 0:00 xfce4-settings-helper --display :0.0 --sm-client-id MAIL= 3848 tty1 SLl 0:02 gnome-keyring-daemon --start 3846 tty1 S 0:00 xfsettingsd --force MAIL=/var/mail/lucas USER=lucas SSH_AGENT_PID=3812 SHLVL=1 PERL_LOCAL_LIB_R 3824 tty1 S 0:00 /usr/bin/dbus-launch --exit-with-session x-session-manager MAIL=/var/mail/lucas USER=lucas SHLV Es (chromium (chrome non da google)) con PID 4295 Codice:
recvfrom(8, 0x7f922677c0f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
write(44, "\0", 1) = 1
poll([{fd=8, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])
writev(8, [{"\225\7\2\0/\333\t\0036\0\2\0.\333\t\3(\4\4\0\235\216\t\3\257\0\0\0\0\0\0\0", 32}, {NULL, 0}, {"", 0}], 3) = 32
poll([{fd=8, events=POLLIN}], 1, -1) = 1 ([{fd=8, revents=POLLIN}])
recvfrom(8, "\1\1\3727\0\0\0\0\253\217\340\0\0\0q\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(8, 0x7f922677c0f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=8, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])
writev(8, [{">\7\7\0\343\216\t\3\235\216\t\3\345\216\t\3\0\0\0\0\0\0\0\0\0\0\0\0(\0\4\0"..., 44}, {NULL, 0}, {"", 0}], 3) = 44
poll([{fd=8, events=POLLIN}], 1, -1) = 1 ([{fd=8, revents=POLLIN}])
recvfrom(8, "\16\0\3737\235\216\t\3\0\0>\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096, 0, NULL, NULL) = 64
recvfrom(8, 0x7f922677c0f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=8, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])
writev(8, [{">\7\7\0\343\216\t\3\235\216\t\3\345\216\t\3\316\4[\1\316\4[\1%\0<\0(\0\4\0"..., 44}, {NULL, 0}, {"", 0}], 3) = 44
poll([{fd=8, events=POLLIN}], 1, -1) = 1 ([{fd=8, revents=POLLIN}])
recvfrom(8, "\16\0\3757\235\216\t\3\0\0>\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096, 0, NULL, NULL) = 64
recvfrom(8, 0x7f922677c0f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=66, events=POLLIN}, {fd=97, events=POLLIN}, {fd=94, events=POLLIN}, {fd=78, events=POLLIN}], 6, 0) = 0 (Timeout)
poll([{fd=8, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=8, revents=POLLOUT}])
writev(8, [{">\7\7\0\343\216\t\3\235\216\t\3\345\216\t\3{\4\344\1{\4\344\1$\0\"\0", 28}, {NULL, 0}, {"", 0}], 3) = 28
recvfrom(8, "\16\0\3777\235\216\t\3\0\0>\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(8, 0x7f922677c0f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=66, events=POLLIN}, {fd=97, events=POLLIN}, {fd=94, events=POLLIN}, {fd=78, events=POLLIN}], 6, 0) = 0 (Timeout)
recvfrom(8, 0x7f922677c0f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=66, events=POLLIN}, {fd=97, events=POLLIN}, {fd=94, events=POLLIN}, {fd=78, events=POLLIN}, {fd=10, events=POLLIN}], 7, 0) = 0 (Timeout)
recvfrom(8, 0x7f922677c0f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=66, events=POLLIN}, {fd=97, events=POLLIN}, {fd=94, events=POLLIN}, {fd=78, events=POLLIN}, {fd=10, events=POLLIN}], 7, 0) = 0 (Timeout)
recvfrom(8, 0x7f922677c0f4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=9, events=POLLIN}, {fd=8, events=POLLIN}, {fd=66, events=POLLIN}, {fd=97, events=POLLIN}, {fd=94, events=POLLIN}, {fd=78, events=POLLIN}, {fd=10, events=POLLIN}], 7, 748^C <unfini
__________________
Apple Watch Ultra + iPhone 15 Pro Max + Rog Ally + Legion Go Ultima modifica di The_ouroboros : 29-01-2013 alle 15:44. |
|
|
|
|
|
#15 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
Grazie mille Ouro. E grazie mille Sottovento.
I vostri link è suggerimenti sono preziosi per me. |
|
|
|
|
|
#16 | |
|
Senior Member
Iscritto dal: May 2007
Città: Milano
Messaggi: 7103
|
Quote:
__________________
Apple Watch Ultra + iPhone 15 Pro Max + Rog Ally + Legion Go |
|
|
|
|
|
|
#17 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
Ho trovato anche un bell'articolo su top e ps:
http://www.drdobbs.com/open-source/p...-dev/220700195 ![]() EDIT: e anche questo: http://linux.die.net/man/1/atop |
|
|
|
|
|
#18 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
Su Linux/GCC c'è anche gprof:
http://www.drdobbs.com/open-source/p...0700195?pgno=2 ![]() EDIT: ma bisogna avere i sorgenti e compilare con l'opzione -pg. |
|
|
|
|
|
#19 | |
|
Senior Member
Iscritto dal: May 2007
Città: Milano
Messaggi: 7103
|
Quote:
__________________
Apple Watch Ultra + iPhone 15 Pro Max + Rog Ally + Legion Go |
|
|
|
|
|
|
#20 |
|
Bannato
Iscritto dal: Mar 2008
Città: Villabate(PA)
Messaggi: 2515
|
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 22:25.






















