Re: a sysctl for process binary osreldate

2012-03-22 Thread Mikolaj Golub
On Thu, 22 Mar 2012 22:38:15 +0200 Mikolaj Golub wrote: MG> Actually I don't see reasons why this may not be p_cansee, so I MG> updated the patch and going to commit it if there is no objections. The updated patch: http://people.freebsd.org/~trociny/kern_proc_osrel.2.patch -- Mikolaj Golub

Re: a sysctl for process binary osreldate

2012-03-22 Thread Mikolaj Golub
On Sat, Mar 17, 2012 at 9:30 PM, Mikolaj Golub wrote: > Hi, > > Currently we can check and change binary osreldate of another process via > procfs(5). > > Kostik suggested to add a new sysctl for the same purpose and also extend > procstat to show osrel. > > Here are patches I am going to commit i

Re: a sysctl for process binary osreldate

2012-03-18 Thread Mikolaj Golub
On Sat, 17 Mar 2012 22:29:01 +0100 Jilles Tjoelker wrote: JT> On Sat, Mar 17, 2012 at 09:30:05PM +0200, Mikolaj Golub wrote: >> I added osrel output to procstat -b option: >> kopusha:~% procstat -b 2975 >> PID COMMOSREL PATH >> 2975 emacs 101 /usr/local/bi

Re: a sysctl for process binary osreldate

2012-03-17 Thread Jason Hellenthal
On Sat, Mar 17, 2012 at 11:38:22PM +0200, Mikolaj Golub wrote: > > On Sat, 17 Mar 2012 23:26:53 +0200 Konstantin Belousov wrote: > > KB> On Sat, Mar 17, 2012 at 11:07:24PM +0200, Mikolaj Golub wrote: > >> > >> On Sat, 17 Mar 2012 16:37:02 -0400 Jason Hellenthal wrote: > >> > >> JH> Woul

Re: a sysctl for process binary osreldate

2012-03-17 Thread Mikolaj Golub
On Sat, 17 Mar 2012 23:26:53 +0200 Konstantin Belousov wrote: KB> On Sat, Mar 17, 2012 at 11:07:24PM +0200, Mikolaj Golub wrote: >> >> On Sat, 17 Mar 2012 16:37:02 -0400 Jason Hellenthal wrote: >> >> JH> Would this be a planned MFC to stable/N as well specifcially 8 ? >> >> I plan to M

Re: a sysctl for process binary osreldate

2012-03-17 Thread Jilles Tjoelker
On Sat, Mar 17, 2012 at 09:30:05PM +0200, Mikolaj Golub wrote: > I added osrel output to procstat -b option: > kopusha:~% procstat -b 2975 > PID COMMOSREL PATH > 2975 emacs 101 /usr/local/bin/emacs-23.3 > Would this be ok or someone see a better way? Hmm, this

Re: a sysctl for process binary osreldate

2012-03-17 Thread Konstantin Belousov
On Sat, Mar 17, 2012 at 11:07:24PM +0200, Mikolaj Golub wrote: > > On Sat, 17 Mar 2012 16:37:02 -0400 Jason Hellenthal wrote: > > JH> Would this be a planned MFC to stable/N as well specifcially 8 ? > > I plan to MFC to stable/9 if there is no objections. I do not see why the merge to stable/8

Re: a sysctl for process binary osreldate

2012-03-17 Thread Mikolaj Golub
On Sat, 17 Mar 2012 16:37:02 -0400 Jason Hellenthal wrote: JH> Would this be a planned MFC to stable/N as well specifcially 8 ? I plan to MFC to stable/9 if there is no objections. -- Mikolaj Golub ___ freebsd-hackers@freebsd.org mailing list http:/

Re: a sysctl for process binary osreldate

2012-03-17 Thread Konstantin Belousov
On Sat, Mar 17, 2012 at 08:51:25PM +, Robert N. M. Watson wrote: > > On 17 Mar 2012, at 19:30, Mikolaj Golub wrote: > > > Currently we can check and change binary osreldate of another process via > > procfs(5). > > > > Kostik suggested to add a new sysctl for the same purpose and also extend

Re: a sysctl for process binary osreldate

2012-03-17 Thread Robert N. M. Watson
On 17 Mar 2012, at 19:30, Mikolaj Golub wrote: > Currently we can check and change binary osreldate of another process via > procfs(5). > > Kostik suggested to add a new sysctl for the same purpose and also extend > procstat to show osrel. > > Here are patches I am going to commit if there are

Re: a sysctl for process binary osreldate

2012-03-17 Thread Jason Hellenthal
On Sat, Mar 17, 2012 at 09:30:05PM +0200, Mikolaj Golub wrote: > Hi, > > Currently we can check and change binary osreldate of another process via > procfs(5). > > Kostik suggested to add a new sysctl for the same purpose and also extend > procstat to show osrel. > > Here are patches I am goin

a sysctl for process binary osreldate

2012-03-17 Thread Mikolaj Golub
Hi, Currently we can check and change binary osreldate of another process via procfs(5). Kostik suggested to add a new sysctl for the same purpose and also extend procstat to show osrel. Here are patches I am going to commit if there are no objections or suggestions. http://people.freebsd.org/~