9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wan't to remove last 5 and 10 days files from two directory and send the remove files list in mail
Output send through mail
find /kalia/cd/ -type f -mtime +5 exec rm {} \;
find /kalia/uk/ -type f -mtome +10 exec rm {} \;
Output send through mail
File has been deleted
... (1 Reply)
Discussion started by: Kalia
1 Replies
2. UNIX for Dummies Questions & Answers
Okay, I need some nerd magic here! LOL!
Using a bash script, I have a folder that I'd like to remove upon uninstalling a package. That part is simple but what isn't simple is taking into consideration a 'reinstall' or 'upgrade' of that same package.
By default, 'reinstalling' or 'upgrading'... (8 Replies)
Discussion started by: thazsar
8 Replies
3. Ubuntu
I have Ubunut installed on my desktop
AMD 6 Core 3.2 (will be getting the bulldozer AMD 8 Core when it releases)
16 GB of DDR3 1333 RAM
SSD
some HDD's
Nvidia 560 ti 1GB
My question is, how can I or can I even get a Win 7 VM to play games as well in a main install. Give it 10 GBs of RAM... (0 Replies)
Discussion started by: ochieman2000
0 Replies
4. Shell Programming and Scripting
While sending mails using sendmail, the domain name is getting appended to the from id. My requirement is not to have that domain name in the From mail id. Could anyone help me on this? I am using the below command:
cat t|/usr/lib/sendmail -f"Admin" user1@domain1.com (0 Replies)
Discussion started by: skar_a
0 Replies
5. UNIX for Dummies Questions & Answers
which better freebsd and netbsd for server unix (0 Replies)
Discussion started by: salehudinayubi
0 Replies
6. BSD
i have install netbsd but don't have gui?what happen?i want to a mount external usb hard drive but failure?what should i do? (5 Replies)
Discussion started by: ibnusina202003
5 Replies
7. Solaris
Hello,
I'm working on a Solaris 9/Sparc machine and it has the Solaris 10 version of Perl (5.8.8) installed on it, which always requires all kinds of library files that Solaris 9 doesn't come with. I think the best way to do is to uninstall this wrong version and install the correct Solaris 9... (1 Reply)
Discussion started by: alanlh
1 Replies
8. UNIX for Dummies Questions & Answers
How safe is it to remove these spooler mail files.
I need to make some room in the /usr directory?
Any ideas?
thanks (2 Replies)
Discussion started by: larcom61
2 Replies
9. UNIX Desktop Questions & Answers
Hi I have NetBSD and i am having a trouble Starting X. It keeps asking me for the config file and I run the text confing file but it messes up. I really want to be able to run the Graphical Setup. I read about the Graphical setup from a book but they didn't tell how to start it. help please!? (9 Replies)
Discussion started by: vertigo
9 Replies
KGMON(8) BSD System Manager's Manual KGMON(8)
NAME
kgmon -- generate a dump of the operating system's profile buffers
SYNOPSIS
kgmon [-bdhpr] [-M core] [-N system]
DESCRIPTION
kgmon is a tool used when profiling the operating system. When no arguments are supplied, kgmon indicates the state of operating system pro-
filing as running, off, or not configured (see config(1)). If the -p flag is specified, kgmon extracts profile data from the operating sys-
tem and produces a gmon.out file suitable for later analysis by gprof(1).
The options are as follows:
-b Resume the collection of profile data.
-d Enable debug output.
-h Stop the collection of profile data.
-M core
Extract values associated with the name list from the specified core instead of the default /dev/kmem.
-N system
Extract the name list from the specified system instead of the default /netbsd.
-p Dump the contents of the profile buffers into a gmon.out file.
-r Reset all the profile buffers. If the -p flag is also specified, the gmon.out file is generated before the buffers are reset.
If neither -b nor -h is specified, the state of profiling collection remains unchanged. For example, if the -p flag is specified and profile
data is being collected, profiling will be momentarily suspended, the operating system profile buffers will be dumped, and profiling will be
immediately resumed.
FILES
/netbsd the default system
/dev/kmem the default memory
DIAGNOSTICS
Users with only read permission on /dev/kmem cannot change the state of profiling collection. They can get a gmon.out file with the warning
that the data may be inconsistent if profiling is in progress.
SEE ALSO
config(1), gprof(1)
HISTORY
The kgmon command appeared in 4.2BSD.
BSD
June 6, 1993 BSD