Re: Porting from linux to FreeBSD (procfs question)

2008-01-03 Thread Patrick Lamaiziere
Le Thu, 3 Jan 2008 14:14:57 +0100, "Fernando Apesteguía" <[EMAIL PROTECTED]> a écrit : > As I know, FreeBSD has some kind of procfs but more limited in terms > of information. My questions is how should I proceed now? I see two > options. > > 1 - Try to rely the porting on the compatibility procf

Re: Porting from linux to FreeBSD (procfs question)

2008-01-03 Thread Jeremy Chadwick
On Thu, Jan 03, 2008 at 05:16:42PM +0100, Ivan Voras wrote: > On 03/01/2008, Fernando Apesteguía <[EMAIL PROTECTED]> wrote: > > > Yes, that's my problem. In Linux I can get from /proc/cpuinfo for > > example: name, model, stepping, cache size, clock speed, supported > > extensions, etc... > > But

Re: Porting from linux to FreeBSD (procfs question)

2008-01-03 Thread Ivan Voras
On 03/01/2008, Fernando Apesteguía <[EMAIL PROTECTED]> wrote: > Yes, that's my problem. In Linux I can get from /proc/cpuinfo for > example: name, model, stepping, cache size, clock speed, supported > extensions, etc... > But using sysctl in FreeBSD (sysctl -a) I can only see name and vendor > for

Re: Porting from linux to FreeBSD (procfs question)

2008-01-03 Thread Jerry McAllister
On Thu, Jan 03, 2008 at 02:14:57PM +0100, Fernando Apesteguía wrote: > Hi all, > > First of all, Happy New Year. > > I have a question about porting an application from Linux to FreeBSD. > > The application I want to port, makes an extensive use of the procfs > in Linux. It gathers a lot of inf

Re: Porting from linux to FreeBSD (procfs question)

2008-01-03 Thread Fernando Apesteguía
On Jan 3, 2008 2:47 PM, Ivan Voras <[EMAIL PROTECTED]> wrote: > Fernando Apesteguía wrote: > > > 1 - Try to rely the porting on the compatibility procfs from FreeBSD > > 2 - Do the things in a completely different way (which one is this? > > Invoking sysctl system call?) > > > > I would like to kno

Re: Porting from linux to FreeBSD (procfs question)

2008-01-03 Thread Ivan Voras
Fernando Apesteguía wrote: > 1 - Try to rely the porting on the compatibility procfs from FreeBSD > 2 - Do the things in a completely different way (which one is this? > Invoking sysctl system call?) > > I would like to know from you which one is the best approach. The best way to do it is to ab

Re: Porting from LInux to FreeBSD

2005-09-09 Thread RW
On Thursday 08 September 2005 10:46, Deepak Naidu wrote: > 2)How to i find memory, cpu information in freebsd, > apart from TOP. In linux we have free and > /pro/cpuinfo. I dont see any files under /proc > On the subject of /proc see:

Re: Porting from LInux to FreeBSD

2005-09-09 Thread RW
On Thursday 08 September 2005 11:25, Subhro wrote: > Deepak Naidu sat at his 'puter and typed on 9/8/2005 15:16: >>... > >for mailing server. I used raiserfs in linux. Which > ... > Just something off topic, did you have any reasons for > using ReiserFS in Linux and not use EXT2/3? See:

Re: Porting from LInux to FreeBSD

2005-09-08 Thread Martin Hepworth
On 9/8/05, Deepak Naidu <[EMAIL PROTECTED]> wrote: > > Hi, > I am trying to migrate my mail servers from Fedora > core 3 to FreeBSD 5.4, due to performance issue. Had > few questions. > > 1)Which is the suitable filesystem ie UFS2, Ext2 > etc... > for mailing server. I used raiserfs in linux. Whi

Re: Porting from LInux to FreeBSD

2005-09-08 Thread Deepak Naidu
i am using my yahoo a/c ... ya regarding xfs its only read only support in 6.0 and no support for 5.4 Thanx Deepak Naidu. --- Subhro <[EMAIL PROTECTED]> wrote: > Deepak Naidu sat at his 'puter and typed on 9/8/2005 > 16:55: > > >Hey Subhro thanx for the info. I used Reiserfs in > >linux, bco

Re: Porting from LInux to FreeBSD

2005-09-08 Thread Svein Halvor Halvorsen
* Deepak Naidu [2005-09-08 10:46 +0100] > 2)How to i find memory, cpu information in freebsd, > apart from TOP. In linux we have free and > /pro/cpuinfo. I dont see any files under /proc You need to mount procfs on /proc to have files appear in /proc. However, you won't find cpuinfo in there

Re: Porting from LInux to FreeBSD

2005-09-08 Thread Subhro
Deepak Naidu sat at his 'puter and typed on 9/8/2005 16:55: Hey Subhro thanx for the info. I used Reiserfs in linux, bcos its reads and writes smaller files faster like file size of 1-5 Mb, basically for mailing solution. I dont know where iam wrong. I have read regarding XFS, in freebsd a

Re: Porting from LInux to FreeBSD

2005-09-08 Thread Subhro
Deepak Naidu sat at his 'puter and typed on 9/8/2005 15:16: Hi, Hello :-), I am trying to migrate my mail servers from Fedora core 3 to FreeBSD 5.4, due to performance issue. Cool! Go for it :-) 1)Which is the suitable filesystem ie UFS2, Ext2 etc... for mailing server. I used raise