brumka: (Default)
[personal profile] brumka
Тут очень срочно надо было нарыть подходящую команду или, на худой конец, утилиту а времени было в обрез. И я решил подключить к процессу нашу службу поддержки (ака "суппорт"). Вот отрывок из переписки:

[me] Bottom-line, I am looking for a way to monitor if there's any process on AIX box that consumes more than 60% of server's CPU. Any idea how to implement that, please?

[support] I tried to research on the issue but I was unable to find any process which could use more than 60% of server's CPU.
The process which would be using such a high amount of CPU cannot be found as it is very rare that any Unix process would be using such a high amount of memory.


И не надо задавать мне вопросы по поводу географического расположения резервации (ака "страна поддержки") обитания гуманоидов той расы. К сожалению, они не виноваты.

Date: 2008-02-12 05:59 am (UTC)
From: [identity profile] ly0lik.livejournal.com
ой как плохо!!!
А самому состряпать на каком-нить скриптовом языке? Вот хоть бы на шелле...

Date: 2008-02-12 02:35 pm (UTC)
From: [identity profile] brumka.livejournal.com
Скрипт не подходит - команда должна бежать на ~400 серверах и заниматься администрированием никто не будет.

Date: 2008-02-12 03:00 pm (UTC)
From: [identity profile] ly0lik.livejournal.com
т.е. прога должна стоять на одной машине и каким-то образом собирать данные CPU usage со всех серверов?

Date: 2008-02-12 04:27 pm (UTC)
From: [identity profile] brumka.livejournal.com
sorry for EN as i'm posting from PDA - my current customer has blocked access to LJ as well as to many other *useful* resources.

well, I think we're getting into unnecessary details. anyway, if you want to challenge your knowledge of *IX: a command that I was looking for is executed by SiteScope over SSH session and the only output I care is if there is any process that consumes more than 60% of CPU. I do not have to know the process' name and the list of processes varies from server to server

Date: 2008-02-12 06:05 am (UTC)
From: [identity profile] assedo.livejournal.com
А ps, top (или на AIX это topas?), tprof и т.д. уже отменили? :)

Date: 2008-02-12 02:37 pm (UTC)
From: [identity profile] brumka.livejournal.com
есть жёсткие ограничения на формат вывода. команда нужна не для пользователя, а для некоего monitoring framework.

Profile

brumka: (Default)
brumka

January 2026

S M T W T F S
    1 23
45678910
11121314151617
18192021222324
25262728293031

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 10th, 2026 09:59 am
Powered by Dreamwidth Studios