Re: How to maintain/debug OpenBSD
Thank's IL KA! Sunny Naqvi On Fri, Apr 20, 2018 at 08:01 PM, IL Ka wrote: This book is quite old, but it has a good chapter about BSD performance tools and about performance measurement in general https://www.amazon.com/Optimizing-UNIX-Performance-Amir-Majidimehr/dp/0131115510 (https://www.amazon.com/Optimizing-UNIX-Performance-Amir-Majidimehr/dp/0131115510) Such books are rare because if you know how operation systems and computers work, you do not need anything except man pages for tools. On Fri, Apr 20, 2018 at 6:35 PM, wrote: Is there any books that describe how to deal with these tools ? Sunny Naqvi On Fri, Apr 20, 2018 at 04:42 PM, IL Ka wrote: high load top, vmstat. You can also try to profile app with dtrace. low space disk ``du -d1 -h`` to find huge dir see opened files fstat On Fri, Apr 20, 2018 at 9:56 AM, wrote: Hi Sometimes we need to maintain or debug OpenBSD. I found these links useful : https://www.openbsd.org/ddb.html (https://www.openbsd.org/ddb.html) (https://www.openbsd.org/ddb.html (https://www.openbsd.org/ddb.html)) https://man.openbsd.org/crash (https://man.openbsd.org/crash) (https://man.openbsd.org/crash (https://man.openbsd.org/crash)) https://www.openbsd.org/report.html (https://www.openbsd.org/report.html) (https://www.openbsd.org/report.html (https://www.openbsd.org/report.html)) But what do you use guys ? any tricks when things go wrong ? Like for example facing to 'high load', 'low space disk', 'see opened files'... Thanks Sunny Naqvi
Re: How to maintain/debug OpenBSD
This book is quite old, but it has a good chapter about BSD performance tools and about performance measurement in general https://www.amazon.com/Optimizing-UNIX-Performance-Amir-Majidimehr/dp/0131115510 Such books are rare because if you know how operation systems and computers work, you do not need anything except man pages for tools. On Fri, Apr 20, 2018 at 6:35 PM, wrote: > Is there any books that describe how to deal with these tools ? > > Sunny Naqvi > > On Fri, Apr 20, 2018 at 04:42 PM, IL Ka wrote: > > high load > > > top, vmstat. You can also try to profile app with dtrace. > > low space disk > > > ``du -d1 -h`` to find huge dir > > see opened files > > > fstat > > On Fri, Apr 20, 2018 at 9:56 AM, wrote: > > Hi > > Sometimes we need to maintain or debug OpenBSD. > I found these links useful : > https://www.openbsd.org/ddb.html (https://www.openbsd.org/ddb.html) > https://man.openbsd.org/crash (https://man.openbsd.org/crash) > https://www.openbsd.org/report.html (https://www.openbsd.org/report.html) > But what do you use guys ? any tricks when things go wrong ? > Like for example facing to 'high load', 'low space disk', 'see opened > files'... > > Thanks > Sunny Naqvi > >
Re: How to maintain/debug OpenBSD
Is there any books that describe how to deal with these tools ? Sunny Naqvi On Fri, Apr 20, 2018 at 04:42 PM, IL Ka wrote: high load top, vmstat. You can also try to profile app with dtrace. low space disk ``du -d1 -h`` to find huge dir see opened files fstat On Fri, Apr 20, 2018 at 9:56 AM, wrote: Hi Sometimes we need to maintain or debug OpenBSD. I found these links useful : https://www.openbsd.org/ddb.html (https://www.openbsd.org/ddb.html) (https://www.openbsd.org/ddb.html (https://www.openbsd.org/ddb.html)) https://man.openbsd.org/crash (https://man.openbsd.org/crash) (https://man.openbsd.org/crash (https://man.openbsd.org/crash)) https://www.openbsd.org/report.html (https://www.openbsd.org/report.html) (https://www.openbsd.org/report.html (https://www.openbsd.org/report.html)) But what do you use guys ? any tricks when things go wrong ? Like for example facing to 'high load', 'low space disk', 'see opened files'... Thanks Sunny Naqvi
Re: How to maintain/debug OpenBSD
sunny.na...@igreen.pk(sunny.na...@igreen.pk) on 2018.04.20 06:56:01 +: > Hi > > Sometimes we need to maintain or debug OpenBSD. > I found these links useful : > https://www.openbsd.org/ddb.html (https://www.openbsd.org/ddb.html) > https://man.openbsd.org/crash (https://man.openbsd.org/crash) > https://www.openbsd.org/report.html (https://www.openbsd.org/report.html) > But what do you use guys ? any tricks when things go wrong ? Normal sysadmin tools: > Like for example facing to 'high load' systat top > 'low space disk' df rm a credit card to buy more disks disklabel and growfs > 'see opened files'... fstat netstat (this is probably not the answer you expected, but if you have a concrete problem, thats easier to answer).
Re: How to maintain/debug OpenBSD
> high load top, vmstat. You can also try to profile app with dtrace. > low space disk ``du -d1 -h`` to find huge dir > see opened files fstat On Fri, Apr 20, 2018 at 9:56 AM, wrote: > Hi > > Sometimes we need to maintain or debug OpenBSD. > I found these links useful : > https://www.openbsd.org/ddb.html (https://www.openbsd.org/ddb.html) > https://man.openbsd.org/crash (https://man.openbsd.org/crash) > https://www.openbsd.org/report.html (https://www.openbsd.org/report.html) > But what do you use guys ? any tricks when things go wrong ? > Like for example facing to 'high load', 'low space disk', 'see opened > files'... > > Thanks > Sunny Naqvi >
How to maintain/debug OpenBSD
Hi Sometimes we need to maintain or debug OpenBSD. I found these links useful : https://www.openbsd.org/ddb.html (https://www.openbsd.org/ddb.html) https://man.openbsd.org/crash (https://man.openbsd.org/crash) https://www.openbsd.org/report.html (https://www.openbsd.org/report.html) But what do you use guys ? any tricks when things go wrong ? Like for example facing to 'high load', 'low space disk', 'see opened files'... Thanks Sunny Naqvi