Re: How to use hammer volume-add and volume-del

2010-04-05 Thread lhmwzy
Could anyone write a artilce about how to use hammer volume-add and volume-del step by step? I can't do it well. 2010/4/5 Jan Lentfer : > lhmwzy schrieb: >> >> Maybe I do something wrong? >> 1.add the disk to computer. >> 2.hammer volume-add /dev/da1s0 / >> 3.shutdown -r now >> 4.panic >> >> > >

Re: Source IP

2010-04-05 Thread Walter
Walter wrote: So, can anyone tell me how I can make ftpd always give me the IP rather than, sometimes, the URL? Alternatively, can someone point me to C code which will allow me to convert a URL to an IP? I got some useful information off the FreeBSD Questions list: It is claimed that ftpd ha

Re: Monitoring CPU time

2010-04-05 Thread Francois Tigeot
On Mon, Apr 05, 2010 at 09:21:41AM -0700, Matthew Dillon wrote: > > systat -pv 1 > > In terms of extracting it in a script... I dunno about that. I'm beginning to think I will need to write a C program for that. top(1) uses a kinfo_proc structure to get its data and AFAIK there's no easy

Re: [PATCH] mount_tmpfs command

2010-04-05 Thread Matthew Dillon
:Hello, : :Here attached is the patch for latest tmpfs related command updates: : : 1. -f options for max filesize : 2. -o options now supports uid/gid/mode/inodes/size/maxfilesize :descriptive options : 3. corresponding tmpfs(5) mount_tmpfs(8) change. : :Please accept this patch for latest head. :

Re: Monitoring CPU time

2010-04-05 Thread Matthew Dillon
:... :> > :> there might be a better way to do this - but you can snag that :> particular set of data from vmstat -c 1 .. : :Thanks for the tip, it's almost what I want. : :FreeBSD: :$ sysctl kern.cp_time :kern.cp_time: 1797279 579339 1349174 128959 811149589 : :DragonFly: :$ vmstat -c 1 | tail -

Re: 2.6 release status update

2010-04-05 Thread Matthew Dillon
:Technically, we're OK now - the 2.6 build of pkgsrc-2009Q4 packages is :already done, from df.v12.su: : :http://avalon.dragonflybsd.org/packages/i386/DragonFly-2.6/pkgsrc-2009Q4/All/ : :Since pkgsrc-2009Q4 for 2.4.1 was already built on that machine before the :2.6 update, any of the packages that

Re: How to use hammer volume-add and volume-del

2010-04-05 Thread Jan Lentfer
lhmwzy schrieb: Maybe I do something wrong? 1.add the disk to computer. 2.hammer volume-add /dev/da1s0 / 3.shutdown -r now 4.panic s0? What did you use to create the disklabel? Should use DF's disklabel program Jan

Re: How to use hammer volume-add and volume-del

2010-04-05 Thread Jan Lentfer
lhmwzy schrieb: Maybe I do something wrong? 1.add the disk to computer. 2.hammer volume-add /dev/da1s0 / 3.shutdown -r now 4.panic 2010/4/5 Jan Lentfer : -Ursprüngliche Nachricht- Von: lhmwzy Gesendet: 05.04.2010 14:48:56 An: Jan Lentfer Betreff: Re: How to use hammer volume-add an

Re: How to use hammer volume-add and volume-del

2010-04-05 Thread lhmwzy
when I use hammer volume-add /dev/da1s0 / then use hammer volume-del /dev/da1s0 / the / size is always grows. FilesystemSize Used Avail Capacity Mounted on ROOT 157G 805M 156G 0%/ FilesystemSize Used Avail Capacity Mounted on ROOT 236

Re: How to use hammer volume-add and volume-del

2010-04-05 Thread lhmwzy
Maybe I do something wrong? 1.add the disk to computer. 2.hammer volume-add /dev/da1s0 / 3.shutdown -r now 4.panic 2010/4/5 Jan Lentfer : > -Ursprüngliche Nachricht- > Von: lhmwzy > Gesendet: 05.04.2010 14:48:56 > An: Jan Lentfer > Betreff: Re: How to use hammer volume-add and volume-del

Re: How to use hammer volume-add and volume-del

2010-04-05 Thread lhmwzy
sorry. I386,DragonFly v2.6.1-RELEASE 2010/4/5 lhmwzy : > sorry. > I386,DragonFly v2.6.1-RELEASE > > 2010/4/5 Jan Lentfer : >> lhmwzy schrieb: >>> >>> This is my fstab >>> >>> cat /etc/fstab >>> # Device                Mountpoint      FStype  Options         Dump >>>  Pass# >>> /dev/da0s1a        

Re: How to use hammer volume-add and volume-del

2010-04-05 Thread Jan Lentfer
lhmwzy schrieb: This is my fstab cat /etc/fstab # DeviceMountpoint FStype Options DumpPass# /dev/da0s1a /boot ufs rw 1 1 /dev/da0s1b noneswapsw 0 0 /dev/da0s1d

Re: How to use hammer volume-add and volume-del

2010-04-05 Thread lhmwzy
This is my fstab cat /etc/fstab # DeviceMountpoint FStype Options DumpPass# /dev/da0s1a /boot ufs rw 1 1 /dev/da0s1b noneswapsw 0 0 /dev/da0s1d /

How to use hammer volume-add and volume-del

2010-04-05 Thread lhmwzy
I use " hammer volume-add /dev/da1s0 /"to expand /,but the system panic.

Re: Monitoring CPU time

2010-04-05 Thread Chris Turner
Francois Tigeot wrote: Unfortunately, there's no data for nice or interrupt. Time to dig into top sources... interrupts are there - not by device, etc.. but anyhow.. yeah.. systat probably has code to get at everything you want.. -- Sent by An eMail