Re: [smartos-discuss] /proc, psinfo, RSS

2017-04-10 Thread Cody Mello
Hi Rob, Since pr_size and pr_rssize are size_t's, I'm guessing that they're zero since the number is too big to represent in 32 bits, so the field is being made 0 instead. If you compile your C program for 64-bit (-m64 for GCC, I believe), does the output change? - Cody On Mon, Apr 10, 2017 at

Re: [smartos-discuss] rotate-kvm-log

2017-04-10 Thread Josh Wilsdon
> But there is nothing about rotate-kvm-log in /etc/logadm.conf from stock. > It is weird. How were these entries had been added in time stamp? It should > be logadm command invoking. But where was it invoked? I haven't done it > manually. > > It doesn't go in logadm.conf. The rotation happens

[smartos-discuss] /proc, psinfo, RSS

2017-04-10 Thread Robert Fisher
I've been writing some software which parses `/proc` to get process info. The original is in Python, but I got some unexpected results and, as I'm not the best with Python, assumed it was my bad coding. So, I wrote a bit of C to cross-reference, and I get the same results. I just can't understand

Re: [smartos-discuss] rotate-kvm-log

2017-04-10 Thread Fred Liu
But there is nothing about rotate-kvm-log in /etc/logadm.conf from stock. It is weird. How were these entries had been added in time stamp? It should be logadm command invoking. But where was it invoked? I haven't done it manually. Fred Get Outlook for iOS On Tue,

Re: [smartos-discuss] zoneevent watcher exited prematurely with code: 1

2017-04-10 Thread Josh Wilsdon
> > > Thanks for the support, it seems to work. We have running that patched > VM.js > now for five days and the zonevent processes are gone. > > Glad to hear it Stefan! Thanks, Josh --- smartos-discuss Archives:

Re: [smartos-discuss] rotate-kvm-log

2017-04-10 Thread Josh Wilsdon
> > > I am running joyent_20161013T025521Z now. It seems in this version > rotate-kvm-log is done by cron not logadm. > But I also noticed when a kvm instance was created there was a > corresponding entry occurred in /var/logadm/timestamp like following: >

[smartos-discuss] rotate-kvm-log

2017-04-10 Thread Fred Liu
Hi, I am running joyent_20161013T025521Z now. It seems in this version rotate-kvm-log is done by cron not logadm. But I also noticed when a kvm instance was created there was a corresponding entry occurred in /var/logadm/timestamp like following: