Sponsored Content
Top Forums Shell Programming and Scripting Builtin alternatives for several commands? Post 302947814 by blackrageous on Monday 22nd of June 2015 03:22:29 PM
Old 06-22-2015
cygwin performance is not the best, you could create wrappers to power shell or even batch files.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ASP alternatives

I have just found out that a project I have developed in ASP (ultradev) needs to be migrated to a unix server and won't be able to support asp. Can anyone point me in the right direction to see what my options are with Unix? I have never worked with or developed for a Unix box before. Also,... (3 Replies)
Discussion started by: Ricki
3 Replies

2. UNIX for Advanced & Expert Users

Alternatives for CLOCK_MONOTONIC

Hi, I need to develop timeout functionality in my code, which is not affected by system's time changes.Unfortunately I dont have CLOCK_MONOTONIC support in my OS. Are there any alternatives? (3 Replies)
Discussion started by: amitks21
3 Replies

3. Shell Programming and Scripting

The builtin split function in AWK is too slow

I have a text file that contains 4 million lines, each line contains 2 fields(colon as field separator). as shown: 123:444,555,666,777,888,345 233:5444,555,666,777,888,345 623:454,585,664,773,888,345 ...... Here I have to split the second field(can be up to 40,000 fields) by comma into an... (14 Replies)
Discussion started by: kevintse
14 Replies

4. Red Hat

Alternatives for sudo??

I am looking for an alternative for sudo in linux, where i need not type the password. OR is there any other version of 'growisofs', which can be executed under sudo??? As currently 'growisofs' refuses to start under sudo... Thanks in advance (12 Replies)
Discussion started by: sony star
12 Replies

5. UNIX for Dummies Questions & Answers

Unix Builtin commands

Hi, In unix ls command is found in /bin/ls. Similarly where can I find built-in commands like read, set, unset commands. I found in some couple of websites saying found in bash tool set. In unix everything is considered as a type of file with path. Please can anyone tell me where is that Bash... (5 Replies)
Discussion started by: gwgreen1
5 Replies

6. Shell Programming and Scripting

Sed -f alternatives?

I have a list of items (control file) that I want to substitute in a text file, and it's BIG. The file has two items, the original, and the new: A B B C D E The file has something like 10,000 entries. So in the oldfile.txt, I'd like to basically make all these expression matched... (9 Replies)
Discussion started by: twoblink
9 Replies

7. UNIX for Advanced & Expert Users

SSH alternatives

Hi, I am using SSH to execute unix commands on remote machines. But, SSH will be diabled soon and I am looking for other alternatives to execute remote scripts/commands, without SSH . any suggestions or workarounds with out SSH for remote program executions ? Thanks in advance. (4 Replies)
Discussion started by: talashil
4 Replies

8. Shell Programming and Scripting

Alternatives to Expect

Are there any other alternatives to using Expect script? Can functionality provided by Expect be achieved by any other scripting language? (7 Replies)
Discussion started by: indianya
7 Replies

9. UNIX for Dummies Questions & Answers

Find command alternatives

Hi is there an alternative other than the find command to get the size of files which are 10 days older ? I already use a script with find command find . -mtime +10. However would want to have an alternative script to find the size of files which are over 10 days. Let me know if you... (1 Reply)
Discussion started by: venkidhadha
1 Replies

10. UNIX for Dummies Questions & Answers

Typeset builtin error

I'm attempting to emulate another users .zshrc file. However, I'm sort of confused on what exactly the -g argument does for the typeset builtin. Here's what he has in his .zshrc file: typeset -ga sources sources+="$ZSH_CONFIG/environment.zsh" sources+="$ZSH_CONFIG/options.zsh"... (4 Replies)
Discussion started by: brandontdr
4 Replies
pstatectl(1M)															     pstatectl(1M)

NAME
pstatectl - control processor performance states SYNOPSIS
cpu] pstate| interval] DESCRIPTION
The command is used to control processor performance states (P-states). On systems with supported processors and firmware, processor per- formance states can reduce power consumption. A supported processor implements a series of performance states, numbered from P0 to Pn, where n is implementation dependent. Each subse- quent P-state consumes less power but offers less performance than the previous state. provides access to both static and dynamic performance state usage modes. In static mode, the system remains in a specified P-state, where power consumption and performance are reduced by a fixed amount. In dynamic mode, HP-UX will adjust the processors' P-states individually, in response to the workload running on the system. Enabling dynamic processor performance states will generally have a negligible effect on system performance, while at the same time reduc- ing power consumption when the system is not fully loaded. Options recognizes the following options: The operation will apply to the specified processor only. If is not specified, the operation applies to the whole system. The "status" operation will report detailed status for each processor. Otherwise, a summary of the system state is reported. Operands recognizes the following operands; only one operand at a time can be specified on the command line: Enable the dynamic P-states mode (processors will adjust performance to match the workload). Disable the P-states (processors will always be at maximum performance). Enable static mode (processors will always be in the specified P-state). If the specified state is higher than is supported, the highest supported state is used instead. The state may be specified as a number, or in P-state notation (for example, P0). Enable dynamic P-states mode within the range of states specified. and should be supplied as specified under the option. Report information about the system's P-state capabilities, the current P-state mode (static or dynamic), and whether HP-UX has control over processor P-states. If was speci- fied, each processor's current P-state and operating mode are displayed. Display a table listing the power consumption and relative performance of each P-state. Print the number of the highest implemented P-state on the system. If the system does not support P-states, the number is 0. Change the time interval between dynamic mode state changes to the specified duration. The minimum is 0.01 seconds, and the maximum is 600 seconds. EXTERNAL INFLUENCES
On some systems, the Onboard Administrator may take control of P-states away from the operating system (for instance, when iLO is used to place the system in Static High Performance or Static Low Power mode). If HP-UX does not have control over processor performance states, the command will still work normally. However, any changes made to P-state modes will have no effect until HP-UX regains control. The command will report whether HP-UX currently has control over P-states. RETURN VALUE
returns the following values: Successful completion. Command failed. DIAGNOSTICS
Make sure that the system has Itanium(R) 2 9100 series or later processors, and that the installed system firmware supports P- states. EXAMPLES
To enable dynamic P-states on the system: To disable dynamic P-states on the system (all processors will be in maximum performance mode): or To restrict the system to P0 and P1 only: DEPENDENCIES
Processor performance states require Itanium(R) 2 9100 series processors or later models. Some systems require a firmware update to use processor performance states. AUTHOR
was developed by HP. SEE ALSO
(Itanium(R)-based Systems Only) pstatectl(1M)
All times are GMT -4. The time now is 05:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy