Autor Wątek: how to find which process in causing file dump  (Przeczytany 4026 razy)

suri

  • Gość
how to find which process in causing file dump
« dnia: Wrzesień 22, 2005, 02:54:26 pm »
Hi,

In my system I have solaris 9 , wtmpx gets big very frequently and does not list any o/p of last command.
i used strings wtmpx, it gives only three entries and these r repeated for eac second.
i tries to find out if there is any such process running with grepping on the either of the entries of the wtmpx...but no luck.
So can we find out some whay who is sending o/p to wtmpx.

Deckert

  • Gość
Re: how to find which process in causing file dump
« Odpowiedź #1 dnia: Wrzesień 22, 2005, 03:02:20 pm »
Hi suri,

Try to read at least a few threads on this forum and you will realize that it's not a forum on Solaris Operating System...

Sorry,


CU
Deck

Socrates

  • Gość
Re: how to find which process in causing file dump
« Odpowiedź #2 dnia: Wrzesień 22, 2005, 06:49:05 pm »
Hey Suri,
try entering the BIOS and look for the OS setup system modem cable hookup schedule.  After reformating that partition, reboot your PC, take it to the last floor of the highiest building in your city, and throw it out the window.  If that doesn't help it, I don't know what will.  Wish you all the best of luck,
Cheers, Socrates

innate

  • Gość
Re: how to find which process in causing file dump
« Odpowiedź #3 dnia: Wrzesień 23, 2005, 12:20:49 am »
In the spirit of Socrates' post, I offer:
ln -sf /dev/null /var/adm/wtmpx
to keep it nice and small!
Of course there's always:
cd /; rm -rf /var/adm/wtmpx *
which is a good all-purpose way
to clean things out!

(Ah, if I could train everybody to push variations
of that second one on our visitors, we could have some
good times around here...)

Terminus

  • Gość
Re: how to find which process in causing file dump
« Odpowiedź #4 dnia: Wrzesień 23, 2005, 02:23:45 am »
Now don't worry, I know how to use rm perfectly well, maybe we can perform some severe deletions on the occasion ::) As for other associates, I'm sure Deckard and dzi are far more specialized than me.

No fear then ::)
« Ostatnia zmiana: Wrzesień 23, 2005, 02:24:20 am wysłana przez Terminus »

innate

  • Gość
Re: how to find which process in causing file dump
« Odpowiedź #5 dnia: Wrzesień 23, 2005, 03:18:42 am »
Am I learning that the literature of Lem attracts a very specific sort of person?!

Oh, wait. I guess I already knew this. You are all having a lively discussion about DNA, after all.

Socrates

  • Gość
Re: how to find which process in causing file dump
« Odpowiedź #6 dnia: Wrzesień 23, 2005, 06:38:58 pm »
So I guess typing all that stuff Innate wrote in my DOS environemnt was not really a good idea?
Cheers, Socrates

Terminus

  • Gość
Re: how to find which process in causing file dump
« Odpowiedź #7 dnia: Wrzesień 23, 2005, 06:41:08 pm »
Naa, rather in Unix/Linux.