10 More Discussions You Might Find Interesting
1. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
2. Shell Programming and Scripting
Hi all,
I am trying to find a way to change first letter in a word from lower case to upper case. It should be done for each first word in text or in paragraph, and also for each word after punctuation like
. ; : ! ?I found the following command
sed -i 's/\s*./\U&\E/g' $@ filenamebut... (7 Replies)
Discussion started by: georgi58
7 Replies
3. Shell Programming and Scripting
Dear community,
I have one LOG directory with some files. What I need to do is list ONLY the files that are not present in other directory.
Using Bash programming!
LOG DIR | SYNC DIR
FILE1 | FILE1
FILE2 | FILE3
FILE3 | OTHER FILENAME
FILE4 ... (9 Replies)
Discussion started by: Lord Spectre
9 Replies
4. Shell Programming and Scripting
how can i do a case insensitive search/replace but keep the same case?
e.g., i want to change a word like
apple-pie to orange-cake
but for the first word if the first letter of the keyword or the letter after the - is capitalised i want to preserve that
e.g., if the before is:
... (5 Replies)
Discussion started by: vanessafan99
5 Replies
5. Solaris
Hi
I'm in a directory named /tmp/mq7
i need to upgrade the mq version from 6 to 7 but im not sure where is the package located ?
which command in solaris will show me the list of all the packages present in the directory /tmp/mq7 ?
my box is running with solaris version 10. (2 Replies)
Discussion started by: newtoaixos
2 Replies
6. Shell Programming and Scripting
Is there a command that can switch a character variable from UPPER case to lower case?
like
foreach AC ( ABC BCD PLL QIO)
set ac `COMMAND($AC)`
...
end
Thanks a lot! (3 Replies)
Discussion started by: rockytodd
3 Replies
7. Shell Programming and Scripting
Hi all,
i have a data array as followes.
ARRAY=DFSG345GGG
ARRAY=234FDFG090
ARRAY=VDFVGBGHH
so on..........
i need all english letters to be change to lower case. So i am expecting to see
ARRAY=dfsg345ggg
ARRAY=234fdfg090
ARRAY=vdfvgbghh
so on........
If i have to copy this data in... (8 Replies)
Discussion started by: usustarr
8 Replies
8. Shell Programming and Scripting
how to traverse through each directory (1 Reply)
Discussion started by: Reddy482
1 Replies
9. Programming
How can I get the present working directory in unix system using c programming and stored it in a string ?? (0 Replies)
Discussion started by: winsonlee
0 Replies
10. UNIX for Dummies Questions & Answers
How one can list only the name of directories present in the directory by using ls command. (2 Replies)
Discussion started by: amolpatil54321
2 Replies
cpufreq-info(1) cpufreq-info(1)
NAME
cpufreq-info - Utility to retrieve cpufreq kernel information
SYNTAX
cpufreq-info [options]
DESCRIPTION
A small tool which prints out cpufreq information helpful to developers and interested users.
OPTIONS
-c --cpu <CPU>
<CPU> number which information shall be determined about.
-e --debug
Prints out debug information.
-f --freq
Get frequency the CPU currently runs at, according to the cpufreq core.
-w --hwfreq
Get frequency the CPU currently runs at, by reading it from hardware (only available to root).
-l --hwlimits
Determine the minimum and maximum CPU frequency allowed.
-d --driver
Determines the used cpufreq kernel driver.
-p --policy
Gets the currently used cpufreq policy.
-g --governors
Determines available cpufreq governors.
-a --related-cpus
Determines which CPUs run at the same hardware frequency.
-a --affected-cpus
Determines which CPUs need to have their frequency coordinated by software.
-s --stats
Shows cpufreq statistics if available.
-y --latency
Determines the maximum latency on CPU frequency changes.
-o --proc
Prints out information like provided by the /proc/cpufreq interface in 2.4. and early 2.6. kernels.
-m --human
human-readable output for the -f, -w, -s and -y parameters.
-h --help
Prints out the help screen.
REMARKS
You can't specify more than one of the output specific options -o -e -a -g -p -d -l -w -f -y.
You also can't specify the -o option combined with the -c option.
FILES
/sys/devices/system/cpu/cpu*/cpufreq/
/proc/cpufreq (deprecated)
/proc/sys/cpu/ (deprecated)
AUTHORS
Dominik Brodowski <linux@brodo.de> - author
Mattia Dongili<malattia@gmail.com> - first autolibtoolization
SEE ALSO
cpufreq-set(1), cpufreq-aperf(1)
Mattia Dongili 0.1 cpufreq-info(1)