Linux
- 19 ответов
- 0 вопросов
11
Вклад в тег
[~]# cat test.txt
22 xxxxxxxxxxxxxxxx
2 yyyyyyyyyyyyyyyyyyyyyy
2 qqqqqqqqqqqqqqqqqq
6 xxxxxxxxxxxxxxxxxxxx
4 ffffffffffffffff
4 9718947ddddddddddddddddddd
4 2351273512735 0989089089
4 lllllllllllllllllllllllll
[~]# cat test.txt | awk '{$1=$1/2; print}'
11 xxxxxxxxxxxxxxxx
1 yyyyyyyyyyyyyyyyyyyyyy
1 qqqqqqqqqqqqqqqqqq
3 xxxxxxxxxxxxxxxxxxxx
2 ffffffffffffffff
2 9718947ddddddddddddddddddd
2 2351273512735 0989089089
2 lllllllllllllllllllllllll
zabbix_get -s ipadress -k proc_info[<процесс>,<атрибут>,<тип>]