Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > Esame di laboratorio (Giugno 2007) - Domande Thread Rating: 3 votes, 5.00 average.
Pages (39): « First ... « 4 5 6 7 [8] 9 10 11 12 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

trovi tutto su questo thread, scartabellatelo dall'inizio alla fine e guarda i link

18-07-2007 17:29
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
liver82
.fedelissimo.

User info:
Registered: Sep 2002
Posts: 56 (0.01 al dì)
Location: Milano
Corso:
Anno:
Time Online: 16:03:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Laura io direi che è perfetto il tuo...invece per quanto riguarda il seguente comando:

find / -type f -size +10 | xargs ls -lF | grep "\*$" | tr -s ' ' ' ' | cut -d ' ' -f 5,9 | sort -n | tail -5

a me funziona anche così:

find / -type f -size +10 | xargs ls -lF | grep "\*$" | sort -n | tail -5

come è stato anche detto qualche thread più su.

Volevo poi chiedere anche se potete segnare i file esatti per far apparire il messaggio quando viene killato un processo. Grazie mille!!

18-07-2007 17:30
Click Here to See the Profile for liver82 Click here to Send liver82 a Private Message Find more posts by liver82 Add liver82 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
NoWhereMan
.illuminato.

User info:
Registered: Jul 2003
Posts: 222 (0.03 al dì)
Location: Segrate (MI)
Corso: Dottorato in Informatica
Anno:
Time Online: 1 Day, 21:56:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

/usr/src/servers/pm/forkexit.c

era facile :P

e poi c'era sempre

cd /usr/src/servers/pm
grep pm_exit *

ciao

18-07-2007 17:46
Click Here to See the Profile for NoWhereMan Click here to Send NoWhereMan a Private Message Visit NoWhereMan's homepage! Find more posts by NoWhereMan Add NoWhereMan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Simaldeff
.fedelissimo.

User info:
Registered: Jun 2004
Posts: 41 (0.01 al dì)
Location: Monza
Corso: Informatica
Anno: terzo
Time Online: 7:20:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

@vittorio
comincia con
cd /
e poi aggiungi il tuo path ...
ls e' come il commando dir del dos

@gli altri
qualcuno sa se e' possibile fare una cosa del tipo
"isolare i file/processi con una taglia tra 100 byte e 1KB"
cioe prendere solo una parte delle cose che non siano la testa o la coda di una lista o testo.

__________________
There is no way to happyness, happyness is the way. -Buddha-

Last edited by Simaldeff on 18-07-2007 at 18:03

18-07-2007 17:55
Click Here to See the Profile for Simaldeff Click here to Send Simaldeff a Private Message Visit Simaldeff's homepage! Find more posts by Simaldeff Add Simaldeff to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
liver82
.fedelissimo.

User info:
Registered: Sep 2002
Posts: 56 (0.01 al dì)
Location: Milano
Corso:
Anno:
Time Online: 16:03:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by NoWhereMan
/usr/src/servers/pm/forkexit.c

era facile :P

e poi c'era sempre

cd /usr/src/servers/pm
grep pm_exit *

ciao


Io ho usato find / -type f | xargs grep -l pm_exit

va bene lo stesso? :razz:

Cmq mi aveva tirato fuori anche altri file e la mia conoscenza non è bastata.
Grazie mille!!

18-07-2007 18:02
Click Here to See the Profile for liver82 Click here to Send liver82 a Private Message Find more posts by liver82 Add liver82 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
NoWhereMan
.illuminato.

User info:
Registered: Jul 2003
Posts: 222 (0.03 al dì)
Location: Segrate (MI)
Corso: Dottorato in Informatica
Anno:
Time Online: 1 Day, 21:56:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scriptino compatto per la copia con struttura directory

(modificando opportunamente) DEST e il filtro (il filtro non sono riuscito a renderlo
parametrizzabile perché '*' viene sempre espanso dalla riga di comando, invece find vuole il carattere!)

code:
DEST=miadestinazione # potrebbe essere anche $1 #in questo esempio copiamo tutti i file nascosti della dir corrente dentro a $DEST DEST=miadestinazione/ find `pwd` -name .\* | while read F do mkdir -p $DEST/`dirname $F` cp -pr $F $DEST/$F done

18-07-2007 18:19
Click Here to See the Profile for NoWhereMan Click here to Send NoWhereMan a Private Message Visit NoWhereMan's homepage! Find more posts by NoWhereMan Add NoWhereMan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
NoWhereMan
.illuminato.

User info:
Registered: Jul 2003
Posts: 222 (0.03 al dì)
Location: Segrate (MI)
Corso: Dottorato in Informatica
Anno:
Time Online: 1 Day, 21:56:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by liver82
Io ho usato find / -type f | xargs grep -l pm_exit

va bene lo stesso? :razz:

Cmq mi aveva tirato fuori anche altri file e la mia conoscenza non è bastata.
Grazie mille!!


va bene lo stesso ma in quel caso è ridondante perché i file sono pochi e il livello e non ci sono sottodirectory, quindi basta grep $COSE * :P

ciao

18-07-2007 18:21
Click Here to See the Profile for NoWhereMan Click here to Send NoWhereMan a Private Message Visit NoWhereMan's homepage! Find more posts by NoWhereMan Add NoWhereMan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Qualcosa che spero possa essere utile, schemi riassuntivi:

Come partizionare

Attachment: partizionamento.doc
This has been downloaded 187 time(s).

18-07-2007 20:37
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Comandi principali

Attachment: comandishellunix.doc
This has been downloaded 219 time(s).

18-07-2007 20:38
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Alcuni esercizi

Attachment: esempi.doc
This has been downloaded 223 time(s).

18-07-2007 20:39
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
antares85
.illuminato.

User info:
Registered: Oct 2005
Posts: 197 (0.03 al dì)
Location: milano
Corso: informatica
Anno: 2
Time Online: 1 Day, 6:16:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

e infine altri comandi e spiegazioni utili...

Attachment: comandi.doc
This has been downloaded 202 time(s).

18-07-2007 20:40
Click Here to See the Profile for antares85 Click here to Send antares85 a Private Message Find more posts by antares85 Add antares85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
liver82
.fedelissimo.

User info:
Registered: Sep 2002
Posts: 56 (0.01 al dì)
Location: Milano
Corso:
Anno:
Time Online: 16:03:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by NoWhereMan
va bene lo stesso ma in quel caso è ridondante perché i file sono pochi e il livello e non ci sono sottodirectory, quindi basta grep $COSE * :P

ciao


uffa non riesco a far uscire il messaggio...:(

1)io vado in /usr/src/servers/pm/
2)forkexit.c
3) mi porto alla fine della funzione pm_exit()
4) metto il printf
5) vado in /usr/src/tools/
6) eseguo i comandi make clean, make image, make hdboot
7)riavvio e non funziona.

Qualcuno mi sa dire perchè?

18-07-2007 20:45
Click Here to See the Profile for liver82 Click here to Send liver82 a Private Message Find more posts by liver82 Add liver82 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
NoWhereMan
.illuminato.

User info:
Registered: Jul 2003
Posts: 222 (0.03 al dì)
Location: Segrate (MI)
Corso: Dottorato in Informatica
Anno:
Time Online: 1 Day, 21:56:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mettilo all'inizio :P

18-07-2007 20:48
Click Here to See the Profile for NoWhereMan Click here to Send NoWhereMan a Private Message Visit NoWhereMan's homepage! Find more posts by NoWhereMan Add NoWhereMan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
liver82
.fedelissimo.

User info:
Registered: Sep 2002
Posts: 56 (0.01 al dì)
Location: Milano
Corso:
Anno:
Time Online: 16:03:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Per killare un processo basta che faccio:

kill nro PID

vero?

18-07-2007 20:53
Click Here to See the Profile for liver82 Click here to Send liver82 a Private Message Find more posts by liver82 Add liver82 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
liver82
.fedelissimo.

User info:
Registered: Sep 2002
Posts: 56 (0.01 al dì)
Location: Milano
Corso:
Anno:
Time Online: 16:03:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by NoWhereMan
mettilo all'inizio :P


Continua a non funzionarmi...boh!
Grazie cmq per la pazienza!:-)

18-07-2007 21:36
Click Here to See the Profile for liver82 Click here to Send liver82 a Private Message Find more posts by liver82 Add liver82 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 06:37.    Post New Thread    Post A Reply
Pages (39): « First ... « 4 5 6 7 [8] 9 10 11 12 » ... Last »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.047 seconds (79.32% PHP - 20.68% MySQL) con 26 query.