05-26-2004
As Jim says, if your process only gets 5% to 7% of the cpu when no other processes are running, that is all that it wants. It is waiting on something else. Most probably, it is waiting for I/O to complete.
If you are having performance problems, you should work with the system administrator. This is part of their job.
There may not be a magic bullet, If you need faster disks or something, there may not be $ for that. On the other hand, there may be a magic bullet. Sometimes you can do stuff like moving files to less busy disk. So it is worth a try. If nothing else, the sysadmin will be aware of the problem.
9 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Does anyone can write a thread to teach me how to install Windows 2000, RH Linux, and FreeBSD unix in one machine step by step? Or someone's already done with this topic? (1 Reply)
Discussion started by: HOUSCOUS
1 Replies
2. UNIX for Dummies Questions & Answers
Can someone tell me this. thanks (1 Reply)
Discussion started by: xoxouu
1 Replies
3. UNIX for Dummies Questions & Answers
Dear Experts
Why we always hear that unix operating system is Multi User and Multi task. What does these two means. I have looked at some books and documents but couldn't find aclear explenation. Can we say Windows operating system is also multi user and multi task??
Thanks for your help in... (6 Replies)
Discussion started by: Reza Nazarian
6 Replies
4. Solaris
I want to apply patches in multiuser mode but stop logins of other users while I do it?
What is the best way to do this?
I will be connected to the system via a putty session over a serial cable from another system (console is messed up)...
Should I put in a dummy passwd and shadow file... (7 Replies)
Discussion started by: NewSolarisAdmin
7 Replies
5. Programming
i wrote a tiny version of tail command using a large buffer statically allocated but, in a second time, i found another version in which i use a bidimensional array dynamically allocated.
here is the first version
/*my tiny tail, it prints the last 5 line of a file
*/
#include<stdio.h>... (4 Replies)
Discussion started by: lucasclaus
4 Replies
6. Shell Programming and Scripting
Hi All,
Please ignore if terminology used is incorrect as I am new to Unix.
I want to create a Multi user input form which looks something like this:
ABCD TOOL
Logged User: abcd12 ... (4 Replies)
Discussion started by: vidhu0007
4 Replies
7. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Hi all,
I've got a huuuuuuge problem with understanding this new concept of multi-paging. I really tried to research but i could not find anything significant. I've been trying to understand this for 4 days and i cannot. The question... (0 Replies)
Discussion started by: snowboarder
0 Replies
8. Programming
Hi,all:
I run my program which consists of one kernel module and one user mode process on a dual core server. The problem here is the kernel module consumes 100% of one core while the user mode process only consumes 10% of the other core, is there any solution that I can assign some computing... (1 Reply)
Discussion started by: neyshule
1 Replies
9. Solaris
Hi guys!
Could you tell me what's this figure about? (See the attached figure below.)
This is a representation of block allocation filesystem and extent allocation filesystem in Solaris.
Does this mean that in a block-based allocation, data are placed in individual blocks while in... (0 Replies)
Discussion started by: arah
0 Replies
fileutil::magic::cgen(3tcl) file utilities fileutil::magic::cgen(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
fileutil::magic::cgen - Generator core for compiler of magic(5) files
SYNOPSIS
package require Tcl 8.4
package require fileutil::magic::cgen ?1.0?
package require fileutil::magic::rt ?1.0?
package require struct::tree
package require struct::list
::fileutil::magic::cgen::2tree script
::fileutil::magic::cgen::treedump tree
::fileutil::magic::cgen::treegen tree node
_________________________________________________________________
DESCRIPTION
This package provides the generator backend for a compiler of magic(5) files into recognizers based on the fileutil::magic::rt recognizer
runtime package. For the compiler frontend using this generator see the package fileutil::magic::cfront.
COMMANDS
::fileutil::magic::cgen::2tree script
This command converts the recognizer specified by the script into a tree and returns the object command of that tree as its result.
It uses the package struct::tree for the tree.
The script is in the format specified by magic(5).
::fileutil::magic::cgen::treedump tree
This command takes a tree as generated by ::fileutil::magic::cgen::2tree and returns a string encoding the tree for human consump-
tion, to aid in debugging.
::fileutil::magic::cgen::treegen tree node
This command takes a tree as generated by ::fileutil::magic::cgen::2tree and returns a Tcl script, the recognizer for the file types
represented by the sub-tree rooted at the node. The generated script makes extensive use of the commands provided by the recognizer
runtime package fileutil::magic::rt to perform its duties.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category fileutil
:: magic of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may
have for either package and/or documentation.
SEE ALSO
file(1), fileutil, magic(5)
KEYWORDS
file recognition, file type, file utilities, mime, type
CATEGORY
Programming tools
fumagic 1.0 fileutil::magic::cgen(3tcl)