The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Lost with terms new2ss UNIX for Dummies Questions & Answers 3 10-04-2007 09:30 AM
Alignment of terms to the left Raynon Shell Programming and Scripting 2 09-11-2007 08:35 PM
Unix basic help carrera911 UNIX for Dummies Questions & Answers 2 08-24-2006 10:28 PM
Basic unix HipCracka UNIX for Dummies Questions & Answers 4 12-08-2003 05:00 PM
basic Unix Question? wmosley2 UNIX for Dummies Questions & Answers 5 12-08-2003 01:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 4.00 average. Display Modes
  #1 (permalink)  
Old 01-07-2007
nervous nervous is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 55
Some Basic terms in UNIX

Hello Gurus,

I have some very beginner level questions here, which are as follows:

1) I know what is a process, but what is a thread? and how a CPU devides a process into more than one threads and on what basis? Does a programmer designs a program in this way that it devides it into more than one threads or Kernel itself decides to divide a process into more than one thread and what benefit we get by doing this?

2) What is meant by a sub-shell?

3) What kind of terminal settings we do for the users comming from a telnet connection? What is the terminal type of user connecting with telnet? I really don't have any idea about that.

4) What is rlogin? and we use rlogin in which situation? I think Windows XP doesn't have rlogin command? What if we want to connect to a UNIX machine from Windows machine?

5) What is meant by UNIX-Cluster?

I know I can find information about above topics on google but I want some discrete and exact definition of above concepts therefor I asked these questions here.

Thanks in advance for any replies.

Regards,
A UNIX student
  #2 (permalink)  
Old 01-07-2007
DCrystal DCrystal is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 22
Quote:
4) What is rlogin?
as I know, it's remote login. But nowadays usually used SSH for this purposes, imho. (it's very old, as i know...)
Quote:
and we use rlogin in which situation?
we use them if we want to connect to the remote computer.
  #3 (permalink)  
Old 01-07-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
1) The programmer splits a process into threads by invoking pthread_create() or something similar. As one example, a web server might launch a thread for each connection. This is much faster than launching a new process for each connection. As another example, two processes may be using a lot of semaphores, messages queue, shared memory, etc to communicate. Make them two threads and they can communicate much more easily. If you have multiple cpu's, multiple threads can run simultaneously. A context switch occurs when a cpu switches from one process to another and it can be expensive. But switching from one thread to another is inexpensive. Some modern cpu's can sometimes run two or more instructions from a process at the same time. Some of these can use this to run instructions from different threads simultaneously. Intel calls this superthreading (or hyperthreading in a more advanced version).

2) A subshell is what happens when a shell forks. The shell needed a second copy of itself to do something. For example:
filelist=`cd /etc; ls`
pwd
that pwd will still show the current directory, not /etc. The cd was done in a subshell.

3) The telnet command will be typed on something. What is the terminal settings on that something prior to entering the telnet command? If you are using an xterm that is acting like a vt-100, the telnet command won't change that. Nor will it try to resize the window or anything.

4) rlogin is very much like telnet but it is non-standard and is very unix specific. It is also very insecure and so it is often disabled.

5) A cluster is a collection of systems that appear to the outside world as one system. This can be to distribute the load across a lot of boxes. And if one box goes down, the others can continue. www.google.com is probably a cluster while www.unix.com certainly is not.
  #4 (permalink)  
Old 01-09-2007
nani_ynm's Avatar
nani_ynm nani_ynm is offline
Registered User
  
 

Join Date: Nov 2005
Location: Bangalore
Posts: 12
Thanks a lot for ur infi. I got some doubts cleared also....
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0