Adding a variable to fproc.h

3 views
Skip to first unread message

minix minix

unread,
Nov 19, 2009, 2:54:06 PM11/19/09
to min...@googlegroups.com
Hi I tried to add a variable to fproc.h. It works fine but when i use ps command to list all the process, it throws me an error as
  ps: out of memory: core
 
 
Could anyone help me overcome the problem please!
 
thanks
Minixman

Erik van der Kouwe

unread,
Nov 21, 2009, 10:02:04 AM11/21/09
to minix3
Hi,

You can fix this by recompiling the commands as well. Go to /usr/src/
commands and "make clean install". Alternatively, you can use "make
clean world" in /usr/src to compile everything.

With kind regards,
Erik

minix minix

unread,
Nov 21, 2009, 7:13:32 PM11/21/09
to min...@googlegroups.com
I tried both but still the same problem occurs. If i remove the variable which i added and recompile ps works fine else it doesnt!

--

You received this message because you are subscribed to the Google Groups "minix3" group.
To post to this group, send email to min...@googlegroups.com.
To unsubscribe from this group, send email to minix3+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/minix3?hl=.



Erik van der Kouwe

unread,
Nov 22, 2009, 2:00:04 AM11/22/09
to minix3
Hi,

Are you running an old version of MINIX ( < 3.1.4)? If so, try
something like "chmem +1048576 /usr/bin/ps". This gives ps 1 MB of
additional memory to store your larger table in.

With kind regards,
Erik

On 22 nov, 01:13, minix minix <minmi...@gmail.com> wrote:
> I tried both but still the same problem occurs. If i remove the variable
> which i added and recompile ps works fine else it doesnt!
>
> On Sat, Nov 21, 2009 at 10:02 AM, Erik van der Kouwe <erik...@gmail.com>wrote:
>
>
>
> > Hi,
>
> > You can fix this by recompiling the commands as well. Go to /usr/src/
> > commands and "make clean install". Alternatively, you can use "make
> > clean world" in /usr/src to compile everything.
>
> > With kind regards,
> > Erik
>
> > On 19 nov, 20:54, minix minix <minmi...@gmail.com> wrote:
> > > Hi I tried to add a variable to fproc.h. It works fine but when i use ps
> > > command to list all the process, it throws me an error as
> > >   ps: out of memory: core
>
> > > Could anyone help me overcome the problem please!
>
> > > thanks
> > > Minixman
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "minix3" group.
> > To post to this group, send email to min...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > minix3+un...@googlegroups.com<minix3%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/minix3?hl=.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -
Reply all
Reply to author
Forward
0 new messages