Tuesday, February 16, 2010
So Sad From Couple Of Days
From the past few days I have been feeling little sick of manything. ....Feeling like my studies is going waste....Heared from my colleagues that now-a-days even a highly talented B.Tech passed students is paid a mere 15K in MNCs...Is this going to be enough for your food, clothing, and for your parents???? This makes me feel that all my 15 academic years have gone waste....Even though I have knowledge about business, I dont want to get into it... my interest is computer....and that's what I want to work on....
My mind says to enter into business while my hearts says to go with computers.....Moreover I am disappointed with the way my project is going on.....got sick of the exceptions I get when I execute the code.....
And to add to the worries...SHE(forgot her name) started becoming my nightmare again.....
Hope get rid of all these things soon....
Friday, February 12, 2010
Started Off ma Project!
Hope everything goes well and we have a successful project
Tuesday, February 9, 2010
My OS Assignment No.1
In a multi tasking computer system, processes may occupy a variety of states. These distinct states may not actually be recognized as such by the operating system kernel however they are a useful abstraction for the understanding of processes.
Following fig describes the life cycle of the process state in typical computer.
Created
(Also called New) When a process is first created, it occupies the "created" or "new" state. In this state, the process awaits admission to the "ready" state
Ready or Running
(Also called waiting or runnable) A "ready" or "waiting" process has been loaded into main memory and is awaiting execution on a CPU (to be context switched onto the CPU by the dispatcher, or short-term scheduler). There may be many "ready" processes at any one point of the systems execution - for example, in a one processor system, only one process can be executing at any one time, and all other "concurrently executing" processes will be waiting for execution.
Blocked
A process that is waiting for some event (such as I/O operation completion or a signal).
Terminated
A process may be terminated, either from the "running" state by completing its execution or by explicitly being killed. In either of these cases, the process moves to the "terminated" state.
Process control block
A Process Control Block (PCB, also called Task Controling Block or Task Struct) is a data structure in the OS kernel containing the information needed to manage a particular process. The PCB is "the manifestation of a process in an operating system"
Process control blocks are found in all modern operating
systems. The structure of pcbs will be different on each operating system
though.
The process table. The pcbs may be put into a number of lists at the same time.
The process table describes the system by which the operating system finds a pcb
by its process id.
Linux PCBs:
/* memory management info */
struct mm_struct *mm;
/* open file information */
struct files_struct *files;
/* tss for this task */
struct thread_struct tss;
int pid;
volatile long state; /* -1 unrunnable, 0
runnable, >0 stopped */
long priority;
unsigned short uid,euid,suid,fsuid;
#ifdef __SMP__
int processor;
#endif
struct task_struct *p_opptr, *p_pptr,
*p_cptr, *p_ysptr, *p_osptr;
/* limits */
struct rlimit rlim[RLIM_NLIMITS];
long utime, stime, cutime, cstime,
start_time;
Windows NT PCBs:
Information is scattered in a variety of objects.
Executive Process Block (EPROCESS)
includes
• KPROCESS and PEB
• pid and ppid (the ppid is not visible to Win32)
• file name of program
• window station (terminal?)
• exit status
• create and exit times
• links to next process
• memory quotas
• memory management info
• Ports for exceptions and debugging
• Security information
NT PCB :
Kernel Process Block (KPROCESS) includes
info the kernel needs to schedule threads
• Kernel and user times.
• Pointers to threads.
• Priority information.
• Process state
• Processor affinity
Process Table:
A data structure within the kernel that stores information about all the current processes.
Sunday, February 7, 2010
My First Backlog!!!
Yesterday when when I woke up and checked my phone for msgs, I was shocked to know from my friends that I got only one backlog.... I was expecting atleast two.....You might think am happy with this...No I'm not... I might have expected two backlogs but the percentage which I got, was not expected.. I was expecting around 68% with two backlogs, but secured 62 with one backlog(69% without backlog). Here are my marks....
SubName | Int | Ext | Total | Result | |
S0523 | MICROPROCESSORS AND INTERFACING | 8 | 70 | 78 | P |
S0524 | DATA COMMUNICATION SYSTEMS | 9 | 11 | 20 | F |
S0521 | SOFTWARE TESTING METHODOLOGIES | 12 | 38 | 50 | P |
S0522 | COMPUTER GRAPHICS | 12 | 48 | 60 | P |
R0524 | MICROPROCESSORS AND INTERFACING LAB | 22 | 41 | 63 | P |
R0522 | DESIGN AND ANALYSIS OF ALGORITHMS | 14 | 28 | 42 | P |
R0523 | ADV. ENGLISH COMMUNICATION SKILLS LAB | 23 | 46 | 69 | P |
R0521 | FORMAL LANGUAGES AND AUTOMATA THEORY | 17 | 67 | 84 | P |
Gautam: he told he'll give party in cafe latte if he gets less than 2 backlog...To his surprise he didn't get any..got 64%... Party bakki hai mere dost...
Ankit:Ankit will kill me If i post his marks.....
Ajay: 3 wicket down.... Clean bowled by JNTU
Vyas: As usual topper of our gang....68%
Shivaaaa:Expected much better marks..UNluckily got 60%
Neha:...........................................................................................
Siddiqueee: sorry this guy is the topper of our gang....Mr. CHATUR LINGAM ....with 71%
Veneela: ALL CLear... She scolded me when I first posted this post without specifying her %...Here it is Veneela...65%..lol
Mayuri:errrr........68%
Nirupama: Is Deputy CR now...with 77%....
Shravani: Unhappy with 71% ...bcz she has one backlog..
The topper of our class now is Madhuri ....79%
Many of my class mate fot more than 70% this time..some of them are...SaiRam, Sailesh, Arun...
Many of ma friends weren't happy with the marks...But the future have become the past and nothing can be changed...have to be happy with what we have got.... Thinking this we guys enjoyed party at the end of the day.
So this was my yesterday's story....Wish the coming results brings happiness..