aplikacja do monitorowania systemu
-
- Piegowaty Guziec
- Posty: 20
- Rejestracja: 23 cze 2006, 18:06
- Płeć: Mężczyzna
- Wersja Ubuntu: 9.04
- Środowisko graficzne: GNOME
aplikacja do monitorowania systemu
Tak jak w temacie. Chodzi mi głównie o to, że mam wirtualne maszyny postawione na serwerze i chcę zbadać przede wszystkim obciążenie sieci, dysków, pamięci i procesora. Program musi posiadać zapisywanie wyników do pliku, muszę mieć dane do opracowania.
Co polecacie? Będę wdzięczny za pomoc.
Co polecacie? Będę wdzięczny za pomoc.
- karmelek
- Przyjaciel
- Posty: 883
- Rejestracja: 10 lut 2007, 17:45
- Płeć: Mężczyzna
- Wersja Ubuntu: 11.04
- Środowisko graficzne: GNOME
- Architektura: x86
- Kontakt:
Odp: aplikacja do monitorowania systemu
Kiedyś używałem czegoś takiego jak munin - nie wiem jakie to ma możliwości, ale zobaczyć możesz, pamiętam że opracowywał nawet wykresy, a co do plików - zobaczysz.
Wszystkich moderatorów Bóg po śmierci zabiera do nieba, żeby ci dwadzieścia cztery godziny na dobę moderowali modlitwy do niego.
http://karmelek.wordpress.com
inny OS=debian lenny
http://karmelek.wordpress.com
inny OS=debian lenny
-
- Przebojowy Jelonek
- Posty: 1048
- Rejestracja: 08 maja 2007, 07:40
- Wersja Ubuntu: 12.10
- Środowisko graficzne: Xfce
- Architektura: x86
Odp: aplikacja do monitorowania systemu
nmon, oczywiście 

I believe not drinking is actually the best way to not get a hangover in the first place.
Coincidentally, it's also the best way to not enjoy your life.
Coincidentally, it's also the best way to not enjoy your life.
-
- Piegowaty Guziec
- Posty: 20
- Rejestracja: 23 cze 2006, 18:06
- Płeć: Mężczyzna
- Wersja Ubuntu: 9.04
- Środowisko graficzne: GNOME
Odp: aplikacja do monitorowania systemu
dzieki! sprawdzilem narazie nmon i jak tam zapisywac wszystkie dane do pliku?
-
- Przebojowy Jelonek
- Posty: 1048
- Rejestracja: 08 maja 2007, 07:40
- Wersja Ubuntu: 12.10
- Środowisko graficzne: Xfce
- Architektura: x86
Odp: aplikacja do monitorowania systemu
Prosto z wiki:
Przypomniało mi się, że nmon jest dostępny w repozytorium, nie musisz go więc kompilować. Starsza wersja nie posiada poprawek dla jakichś dużych serwerowych systemów i wygląda troszkę gorzej, ale nie powinno to mieć dla Ciebie znaczenia, jak sądzę.Using nmon for Linux in data capture mode
Start by capturing a small sample file. Type:Kod: Zaznacz cały
nmon -f -s2 -c 30
The -f means you want the data saved to a file and not displayed on the screen.
The -s2 means you want to capture data every 2 seconds
The -c 30 means you want thirty data points or snap shots
This means that after a few seconds collecting the configuration nmon for Linux will run for 2 x 30 = 60 seconds and stop. At the end some further configuration data is collected.
At nmon for Linux start up briefly check you system and options and then disconnect from you terminal sessions.
It then runs like a daemon process in the background. The point is that if you log out or get disconnected nmon will complete the data file capture - this is a good thing.
If you want to be sure nmon is still running you can't use a simple "ps" because it is not associated with your log on session. Useinstead.Kod: Zaznacz cały
ps -ef | grep nmon
It is a common mistake to try to start using nmon for Linux output file before nmon has finished - this results in a either incomplete data which messes up a later tool or if you asked to a longer time between snap shots then there may be no data actually in the file which confuses all tools trying to analyse the file.
Once nmon for Linux has finished and to build confidence try:
Use:This should output the one line for each snapshot and date and time it happened.Kod: Zaznacz cały
grep ZZZZ yourfile.nmon
Edit the nmon file with vi. You will notice it is a simple text file The start of each line defines the content of the line and then the values are separated with commas. This means the file can be imported in to a spread sheet. If you do this by have make sure you sort the file first (with the um er "sort" command). This sort means all the lines of a particular type are together. A sort is not required by most of the nmon for Linux analysing tools as they perform the function themselves.
I believe not drinking is actually the best way to not get a hangover in the first place.
Coincidentally, it's also the best way to not enjoy your life.
Coincidentally, it's also the best way to not enjoy your life.
-
- Piegowaty Guziec
- Posty: 20
- Rejestracja: 23 cze 2006, 18:06
- Płeć: Mężczyzna
- Wersja Ubuntu: 9.04
- Środowisko graficzne: GNOME
Odp: aplikacja do monitorowania systemu
dzięki wielkie!
Przyda się bardzo. Chociaż muszę jeszcze wypróbować munina bo z tego co widzę też jest świetny plus te wykresy
Przyda się bardzo. Chociaż muszę jeszcze wypróbować munina bo z tego co widzę też jest świetny plus te wykresy

Kto jest online
Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 11 gości