Sponsored Content
Top Forums Programming What is Unix System Programming??? Post 302592957 by gabam on Wednesday 25th of January 2012 10:08:21 AM
Old 01-25-2012
Quote:
Originally Posted by aigoia
UNIX system programming means things like these : writing a shell, writing a fsck program for your favourite file system, writing a daemon for your UNIX/UNIX-like OS, writing your version of ps. So it means writing code that heavily depends on the system calls, that does things close related to the UNIX system. It means coding basic (and necessary) utilities used every day by you/sysadmin. To be a UNIX system-programmer, you must understand well UNIX concepts, UNIX system and library calls -- that is, (2) and (3) sections in man pages, and to understand how thinks are being done (e.g., what daemon(3) does, not simply using daemon() function).

Some books that help:
1. Advanced Programming in the UNIX Environment, 2nd edition
2. Advanced UNIX Programming
3. The Linux Programming Interface
4. Linux System Programming
5. UNIX Network Programming, vol.2, 2nd edition : interprocess communication
6. UNIX Network Programming, vol.1, 2nd, 3rd editions : network programming

Note that there is also UNIX kernel programming, that is programming kernel modules or programming code right in the kernel. Stuff that is in the (9) section of BSD man pages.

---------- Post updated at 02:27 PM ---------- Previous update was at 02:17 PM ----------

Again :

System programming is different from application programming because s.p. deals with basic and needed functionality added to the (UNIX) system, while application programming focuses on getting a working program for your/your customer need.

Since you said you love UNIX, there is no better way to love it
than to program on it. (And also to admin it.)
Thanks alot for this wonderful guidance. Could you please tell me one more thing. Which UNIX should I go with, I mean which UNIX has the most demand, or which UNIX is simply the best. Once again I don't why but I love Solaris, do I have a good future career if I stick only to Solaris and learn it thoroughly??? Or should I also concentrate on Linux or freebsd etc as well?
Thanks
 

10 More Discussions You Might Find Interesting

1. Programming

unix system programming

hey there i have to execute commands that are written on the command line in unix. i have already separated the commands into tokens but now im stuck with the problem of how to actually execute those commands. eg: lets say the user entered " ls -l" to list all the files in a directory ... (1 Reply)
Discussion started by: mile1982
1 Replies

2. Programming

System programming in C

Hi there, Am very very interested in system level programming in C???? Please give me a good site or a sample program to start with.. will be of a great help to me.. Thanks, Nisha (7 Replies)
Discussion started by: Nisha
7 Replies

3. Shell Programming and Scripting

Unix Systems Programming Vs Unix Programming

Several months ago I found a link that explained the difference between how a Unix Systems Admin would do scripting compared to what a Unix Programmer would do. It showed a basic script and then show several iterations that explained how the Systems Admin would change it to make it better. I was... (0 Replies)
Discussion started by: BCarlson
0 Replies

4. UNIX for Dummies Questions & Answers

Tell me some good unix project in system level programming...

this is very urgent plzzzzzzzzzzzzzzzz........... (0 Replies)
Discussion started by: stalin2020
0 Replies

5. UNIX for Dummies Questions & Answers

Carreer:Networking Programming in Unix (C programming Language)

Hello, I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies

6. Programming

Unix System Programming Book

Hi, I've almost finished "Advanced Linux Programming" book. However, I feel as if I need dig deeper in IPC specially socket programming as well as multi-threading. Can anyone recommend a good book (preferably publically available)? (5 Replies)
Discussion started by: jaywalker
5 Replies

7. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

8. Shell Programming and Scripting

System programming with Unix

Hi All I want to learn System programming with the help of Unix. System Programming mean to say 1) Playing with the memory of computer 2) Designing some graphical units Hope you understand... (2 Replies)
Discussion started by: parthmittal2007
2 Replies

9. UNIX for Dummies Questions & Answers

From iOS programming to Linux system programming

Hello. I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations: 1. Linux and iOS are UNIX-like systems, POSIX compliant. 2. It is useful to know C language... (2 Replies)
Discussion started by: Rockatansky
2 Replies

10. UNIX for Advanced & Expert Users

UNIX System Programming Certification Program

Hi, I was working in an IT firm. My stream was UNIX, C, C++. worked for an year and half and then left the job. there has been a gap of 2 years already and wanna get back again. i have some 6 more months to that. want to do some certification to help me get back. c,c++ are fine. unix system... (1 Reply)
Discussion started by: niaR
1 Replies
PERF_3.2-LIST(1)						    perf Manual 						  PERF_3.2-LIST(1)

NAME
perf-list - List all symbolic event types SYNOPSIS
perf list [hw|sw|cache|tracepoint|event_glob] DESCRIPTION
This command displays the symbolic event types which can be selected in the various perf commands with the -e option. EVENT MODIFIERS
Events can optionally have a modifer by appending a colon and one or more modifiers. Modifiers allow the user to restrict when events are counted with u for user-space, k for kernel, h for hypervisor. The p modifier can be used for specifying how precise the instruction address should be. The p modifier is currently only implemented for Intel PEBS and can be specified multiple times: 0 - SAMPLE_IP can have arbitrary skid 1 - SAMPLE_IP must have constant skid 2 - SAMPLE_IP requested to have 0 skid 3 - SAMPLE_IP must have 0 skid The PEBS implementation now supports up to 2. RAW HARDWARE EVENT DESCRIPTOR
Even when an event is not available in a symbolic form within perf right now, it can be encoded in a per processor specific way. For instance For x86 CPUs NNN represents the raw register encoding with the layout of IA32_PERFEVTSELx MSRs (see [Intel(R) 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide] Figure 30-1 Layout of IA32_PERFEVTSELx MSRs) or AMD's PerfEvtSeln (see [AMD64 Architecture Programmer's Manual Volume 2: System Programming], Page 344, Figure 13-7 Performance Event-Select Register (PerfEvtSeln)). Example: If the Intel docs for a QM720 Core i7 describe an event as: Event Umask Event Mask Num. Value Mnemonic Description Comment A8H 01H LSD.UOPS Counts the number of micro-ops Use cmask=1 and delivered by loop stream detector invert to count cycles raw encoding of 0x1A8 can be used: perf stat -e r1a8 -a sleep 1 perf record -e r1a8 ... You should refer to the processor specific documentation for getting these details. Some of them are referenced in the SEE ALSO section below. OPTIONS
Without options all known events will be listed. To limit the list use: 1. hw or hardware to list hardware events such as cache-misses, etc. 2. sw or software to list software events such as context switches, etc. 3. cache or hwcache to list hardware cache events such as L1-dcache-loads, etc. 4. tracepoint to list all tracepoint events, alternatively use subsys_glob:event_glob to filter by tracepoint subsystems such as sched, block, etc. 5. If none of the above is matched, it will apply the supplied glob to all events, printing the ones that match. One or more types can be used at the same time, listing the events for the types specified. SEE ALSO
perf_3.2-stat(1), perf_3.2-top(1), perf_3.2-record(1), Intel(R) 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide[1], AMD64 Architecture Programmer's Manual Volume 2: System Programming[2] NOTES
1. Intel(R) 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide http://www.intel.com/Assets/PDF/manual/253669.pdf 2. AMD64 Architecture Programmer's Manual Volume 2: System Programming http://support.amd.com/us/Processor_TechDocs/24593.pdf perf 06/24/2012 PERF_3.2-LIST(1)
All times are GMT -4. The time now is 02:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy