Re: man quits back to the prompt after CTRL-G
send me ur citiback card no On Wed, Oct 14, 2009 at 1:40 PM, Frank Shute fr...@shute.org.uk wrote: On Tue, Oct 13, 2009 at 11:10:02PM -0700, Chris Stankevitz wrote: Bill Campbell wrote: The -e and -E options to less control this. You want neither of these specified if you don't want to have less automatically exit at end-of-file. The ``-e'' option causes it to exit the second time it hits eof while ``-E'' exits the first time. Bill, Thank you for your explanation. I hope to find that my PAGER environment variable is less -E. If so, I will drop the -E. Chris Chris, Set $PAGER to less and then set $LESS to something reasonable in your shells rc/profile. E.g On my machine: LESS=-Xrmj3z-3 -Pm?f%f\:\ .?pb%pb\%\ :?lt%lt. .?e(END) All explained in less(1) Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Automatic rsh login to BSD Box
Hi I have 2 BSD boxes, want to acheive automatic rsh login from one BSD box to other. I tried placing host name of the boxes in .rhosts file of the boxes under ~root directory. This works fine with user account and I am able to remotely execute commands on the other box with rsh. Eg: == rsh bsd2 df bsd2 - host df - command But with super user account , i get error as rshd: Login incorrect. which basically is * Login incorrect.* No password file entry for the user name existed or the authentication procedure described above failed.Though i have password file entry of root in each of the BSD boxes ~atm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysinfo equivalent in Freebsd
Hi, In linux we have sysinfo system call which provides overall system statistics. struct sysinfo { long uptime; /* Seconds since boot */ unsigned long loads[3]; /* 1, 5, and 15 minute load averages */ unsigned long totalram; /* Total usable main memory size */ unsigned long freeram; /* Available memory size */ unsigned long sharedram; /* Amount of shared memory */ unsigned long bufferram; /* Memory used by buffers */ unsigned long totalswap; /* Total swap space size */ unsigned long freeswap; /* swap space still available */ unsigned short procs;/* Number of current processes */ unsigned long totalhigh; /* Total high memory size */ unsigned long freehigh; /* Available high memory size */ unsigned int mem_unit; /* Memory unit size in bytes */ } How to find the similar statistics from freebsd , is there any equivalent system call in freebsd. ? I tried using WMMemFree (ports to bsd )without much luck . Regrds atm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: top and multiple CPU's
use top -S There will be new column with 'C' tag which displays the the cpu id on which the process is running mptables to list the processors available On 7/13/06, stan [EMAIL PROTECTED] wrote: I just installed 6.1 stable (AMD64) on a Sun Ultra 40. This is a dual CPU machine. I have Linux installed on a similar machine. On the Linux box I can fire up top and type 1 to see the load on each CPU. This does not seem to work on the FreeBSD machine. Should it? How can I verify that the machine is using both CPU's ? Thanks. -- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Project Validate
Hi, I would like to download the project http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/projects/validate/ which is imported from Linux Test Project, modified to suit to free bsd. Want to know more details on this. Please provide pointers so that i can collect more info abt this. Also from where i can download the same . Thanks, Ashok TM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]