[Users] Is it possible to use sa inside CT's?

Nick Knutov mail at knutov.com
Mon Nov 9 06:34:56 EST 2009


Yes,

# accton on
Turning on process accounting, file set to the default 
'/var/log/account/pacct'.
accton: Operation not permitted

Is it possible to write patch to support this or it's impossible at all 
because of some limitation of OpenVZ?

Thorsten Schifferdecker пишет:
> Hi Nick,
> 
> Nick Knutov schrieb/wrote:
>> Hello all,
>>
>> Is it possible to use sa inside CT's?
>>
>> When I do
>>
>> # sa -im
>>
>> inside CT I get
>>
>> sa: ERROR -- print_stats_nicely called with num_calls == 0
>>
>> But all seems to be ok if run on the node.
> 
> "accton" is not running and has not logged any entries in the logfiles.
> 
> Afaik accton (=BSD Process Accounting) can't be run in a OpenVZ container.
> 
> Bye,
> Thorsten
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users


-- 
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130



More information about the Users mailing list