I want to assign different processers to execute each of my files. My system uses FreeBSD. There is a command called taskset which works on Linux but not FreeBSD.
I came across another command called cpuset which looks like it performs a similar function. I've read the cpuset man page and I think I am running the command correctly but I just want to confirm it. I want to do the following:
file1 executed using processor 1
file2 executed using processor 2
file3 executed using processor 3
etc.
For this example file1.txt simply echoes 'file1' to the screen and file2.txt echoes 'file2' to the screen. The code I executed is:
It looks like it's working but I just need to confirm that I am seting the CPU affinity correctly.
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Please tell me solaris functions/api for getting following information
1- Function that tells how much memory used by current process
2- Function that tells how much memory used by all running processes
3- Function that tells how much CPU is used by current process
4- Function that tells how... (1 Reply)
Hi,
I can have only one instance of my script running at any point of time. So I have :
SCRIPT_NAME=$0
if ; then
echo "The process $0 is already running. Aborting the current instance of the job $0"
exit 1
fi
And in the last line of the script i had given exit 0
At times, though... (3 Replies)
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Hi All
I am not able to understand the usage of d# in the below variable declaration.
FILE_LOC contains the directory path
And also help me to know about what will be saved in the variable j.
Thanks!!!
j=${d#${FILE_LOC}/} (2 Replies)
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
I recently came across this construct that i am not able to understand.
ex: cat $(grep -l 'HELLO' *)
the above command prints out the contents of the file if HELLO string is present in the file. I am not able to understand the usage of "$(" here.. can anybody help me understand this? $anything... (2 Replies)
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
LEARN ABOUT OSX
mount_msdos
MOUNT_MSDOS(8) BSD System Manager's Manual MOUNT_MSDOS(8)NAME
mount_msdos -- mount an MS-DOS file system
SYNOPSIS
mount_msdos [-o options] [-u uid] [-g gid] [-m mask] special node
DESCRIPTION
The mount_msdos command attaches the MS-DOS filesystem residing on the device special to the global filesystem namespace at the location
indicated by node. This command is normally executed by mount(8) at boot time, but can be used by any user to mount an MS-DOS file system on
any directory that they own (provided, of course, that they have appropriate access to the device that contains the file system).
The options are as follows:
-o options
Use the specified mount options, as described in mount(8).
-u uid Set the owner of the files in the file system to uid. The default owner is the owner of the directory on which the file system is
being mounted.
-g gid Set the group of the files in the file system to gid. The default group is the group of the directory on which the file system is
being mounted.
-m mask
Specify the maximum file permissions for files in the file system. (For example, a mask of 755 specifies that, by default, the owner
should have read, write, and execute permissions for files, but others should only have read and execute permissions. See chmod(1)
for more information about octal file modes.) Only the nine low-order bits of mask are used. The default mask is taken from the
directory on which the file system is being mounted.
SEE ALSO mount(2), unmount(2), fstab(5), mount(8)CAVEATS
FreeBSD 2.1 and earlier versions could not handle cluster sizes larger than 16K. Just mounting an MS-DOS file system could cause corruption
to any mounted file system. Cluster sizes larger than 16K are unavoidable for file system sizes larger than 1G, and also occur when filesys-
tems larger than 1G are shrunk to smaller than 1G using FIPS.
HISTORY
The mount_msdos utility first appeared in FreeBSD 2.0. Its predecessor, the mount_pcfs utility appeared in FreeBSD 1.0, and was abandoned in
favor of the more aptly-named mount_msdos.
BSD April 7, 1994 BSD