Forum Discussion
Kai_Wilke
Mar 29, 2017MVP
Hi Piotr,
this one will work too...
[user@unit:Active:Standalone] tmp istats dump
/var/tmstat/cluster.tm2 [READONLY]: nextBlockId=384, last update at 2017-03-29 14:53:35
all facts:
[user@unit:Active:Standalone] tmp istats set "aaa aaa string aaa" 1
[user@unit:Active:Standalone] tmp istats set "aaa aaa gauge aaa" 1
[user@unit:Active:Standalone] tmp istats set "aaa aaa counter aaa" 1
[user@unit:Active:Standalone] tmp istats set "aaa aaa min aaa" 1
[user@unit:Active:Standalone] tmp istats set "aaa aaa max aaa" 1
[user@unit:Active:Standalone] tmp istats dump
/var/tmstat/cluster.tm2 [READONLY]: nextBlockId=1504, last update at 2017-03-29 14:54:05
all facts:
[ aaa=aaa ][aaa] = 1 (2017-03-29 14:54:00)
[ aaa=aaa ][aaa] = 1 (2017-03-29 14:54:00)
[ aaa=aaa ][aaa] = 1 (2017-03-29 14:54:01)
[ aaa=aaa ][aaa] = 1 (2017-03-29 14:54:00)
[ aaa=aaa ][aaa] = 1 (2017-03-29 14:54:00)
[user@unit:Active:Standalone] tmp bigstart stop istatsd
[user@unit:Active:Standalone] tmp rm -rf /var/tmstat2/cluster/*
[user@unit:Active:Standalone] tmp rm -rf /var/tmstat2/blade/*
[user@unit:Active:Standalone] tmp bigstart start istatsd
[user@unit:Active:Standalone] tmp istats dump
/var/tmstat/cluster.tm2 [READONLY]: nextBlockId=384, last update at 2017-03-29 14:53:35
all facts:
[user@unit:Active:Standalone] tmp
Cheers, Kai