Sponsored Content
Top Forums Shell Programming and Scripting Learning project ideas - shell, python, UNIX tools, system administration Post 302864751 by jim mcnamara on Thursday 17th of October 2013 05:46:16 AM
Old 10-17-2013
Consider automating your daily tasks. Use bash. Create a menu which calls the script you need to fix or look at things you routinely are asked to do. Some things will likely require invoking C code for example.

Robert Love 'Linux System Programming' has loads of example C code to look at or modify various system settings.
 

10 More Discussions You Might Find Interesting

1. SCO

UNIX Command line administration and Tools

Hi Everyone I have a few things i need help with in SCO-UNIXWARE 7.1.4 that the version am running. I am an ex-Debian user and i am finding that UNIXWARE is not the cup of Coffee i like I would like to know it the following are available or are there substitutes a locate command - a... (1 Reply)
Discussion started by: Han.nlo
1 Replies

2. UNIX for Dummies Questions & Answers

Information about Unix System Administration

I'm a newbie so I'm not sure if I'm posting this in the right section... if I didn't, please forgive me :) I've been looking all over the web for information on system administration. I'd like to become a Unix System Administrator but I want to find some more info about the job. Can someone please... (54 Replies)
Discussion started by: hpicracing
54 Replies

3. UNIX for Dummies Questions & Answers

What are the career options in unix apart from unix system administration?

What are the career options in unix apart from unix system administration? (2 Replies)
Discussion started by: thulasidharan2k
2 Replies

4. Solaris

what is the use of /etc/project file and project administration commands?

i have two doubts.. 1. what is the use /etc/project file. i renamed this file and when i tried to switch user or login with some user account the login was happening slowly. but when i renamed it to original name it was working fine... why so? 2. unix already has useradd and grouadd for... (4 Replies)
Discussion started by: chidori
4 Replies

5. UNIX for Advanced & Expert Users

System/Network Administration Tools

Sorry for making this post so generic. I'm trying to see if there are tools that exist that look at local network/system configurations and find problems... for example: - NTP server configured that cannot be reached (can cause the system to drift because nobody is alerted to the fact that the... (0 Replies)
Discussion started by: jjinno
0 Replies

6. Hardware

Need ideas for graduation project based on unix or linux

Dear all, i am in last year of electronics department in engineering faculty i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux " i think about embedded unix for example or device drivers please i need helps (1 Reply)
Discussion started by: MOHA-1
1 Replies

7. UNIX and Linux Applications

Need ideas for graduation project based on unix or linux Need ideas for graduation project based on

Dear all, i am in last year of electronics department in engineering faculty i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux " i think about embedded unix for example or device drivers please i need helps (1 Reply)
Discussion started by: MOHA-1
1 Replies

8. UNIX for Advanced & Expert Users

Need ideas for graduation project based on unix or linux

Dear all, i am in last year of electronics department in engineering faculty i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux " i think about embedded unix for example or device drivers please i need helps (1 Reply)
Discussion started by: MOHA-1
1 Replies

9. Homework & Coursework Questions

Need ideas for graduation project based on unix or linux

Dear all, i am in last year of electronics department in engineering faculty i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux " i think about embedded unix for example or device drivers please i need helps (1 Reply)
Discussion started by: MOHA-1
1 Replies

10. What is on Your Mind?

Learning System Administration: What to focus on?

In the fall I am taking courses in System Admin and Networking Admin, along with Cisco classes. Sometime next year I hope to get Red Hat and CCNA certifications, then try to get some experience and a job. I am wondering what I can focus on in the meantime (and in my spare time) that will... (1 Reply)
Discussion started by: ScottLew
1 Replies
CHRT(1) 							   User Commands							   CHRT(1)

NAME
chrt - manipulate the real-time attributes of a process SYNOPSIS
chrt [options] prio command [arg]... chrt [options] -p [prio] pid DESCRIPTION
chrt sets or retrieves the real-time scheduling attributes of an existing pid, or runs command with the given attributes. Both policy (one of SCHED_OTHER, SCHED_FIFO, SCHED_RR, SCHED_BATCH, or SCHED_IDLE) and priority can be set and retrieved. The SCHED_BATCH policy is supported since Linux 2.6.16. The SCHED_IDLE policy is supported since Linux 2.6.23. The SCHED_RESET_ON_FORK flag for policies SCHED_RR and SCHED_FIFO is supported since Linux 2.6.31. OPTIONS
-a, --all-tasks Set or retrieve the scheduling attributes of all the tasks (threads) for a given PID. -b, --batch Set scheduling policy to SCHED_BATCH (Linux specific). -f, --fifo Set scheduling policy to SCHED_FIFO. -i, --idle Set scheduling policy to SCHED_IDLE (Linux specific). -m, --max Show minimum and maximum valid priorities, then exit. -o, --other Set policy scheduling policy to SCHED_OTHER. -p, --pid Operate on an existing PID and do not launch a new task. -r, --rr Set scheduling policy to SCHED_RR. When policy is not defined the SCHED_RR is used as default. -R, --reset-on-fork Add SCHED_RESET_ON_FORK flag to the SCHED_FIFO or SCHED_RR scheduling policy (Linux specific). -v, --verbose Show status information. -h, --help Display usage information and exit. -V, --version Display version information and exit. USAGE
The default behavior is to run a new command: chrt prio command [arguments] You can also retrieve the real-time attributes of an existing task: chrt -p pid Or set them: chrt -r -p prio pid PERMISSIONS
A user must possess CAP_SYS_NICE to change the scheduling attributes of a process. Any user can retrieve the scheduling information. NOTES
Only SCHED_FIFO, SCHED_OTHER and SCHED_RR are part of POSIX 1003.1b Process Scheduling. The other scheduling attributes may be ignored on some systems. Linux default scheduling policy is SCHED_OTHER. AUTHOR
Written by Robert M. Love. COPYRIGHT
Copyright (C) 2004 Robert M. Love This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
taskset(1), nice(1), renice(1) See sched_setscheduler(2) for a description of the Linux scheduling scheme. AVAILABILITY
The chrt command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux June 2010 CHRT(1)
All times are GMT -4. The time now is 09:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy