Search Results

Search: Posts Made By: Kosala
5,459
Posted By Kosala
Use basename
Hi Snail,

This is quite easy in Unix, just use "basename" command.

# basename abc.txt .txt

will give you the base name of the abc.txt.

# mkdir `basename abc.txt .txt`

will do pretty...
Forum: Programming 10-09-2008
14,379
Posted By Kosala
I believe this is similar to what you read in...
I believe this is similar to what you read in /proc/stat on Linux. In Linux, you can read the timer ticks spent on user, system and IO, IRQ etc using /proc/stat. But you need to calculate the CPU %...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 10:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy