LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2012, 10:56 PM   #1
Alchemikos
Member
 
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88

Rep: Reputation: 6
Running Text (Linux Console) Mode in Terminal?


Hello Folks

There's a way to run the Linux console, the text mode that runs in background in some console/ terminal? Just for viewing?

Cheers

Alchemikos
 
Old 07-01-2012, 11:02 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I'm not sure what you mean, could you clarify?
In most distros you can use Ctrl+Alt+F2-6 to get to a terminal. Is this what you mean?
 
Old 07-01-2012, 11:09 PM   #3
Alchemikos
Member
 
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88

Original Poster
Rep: Reputation: 6
OK

I use Slackware, when I shutdown and the graphics close, remains the text mode, and the last commands that I did, and the responses... I thought if could be possible the text mode running inside a terminal while the graphics running. Does it possible?
 
Old 07-02-2012, 12:56 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You can certainly open up a terminal session (lots in fact) from within a GUI session. Have a search through your menus.
 
Old 07-02-2012, 01:07 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

ok, so I think I understand what you are asking... if so you be able to do this by running ttysnoop for tty1 in an xterm (or any other X11 terminal emulator).

HTH,

Evo2.
 
Old 07-02-2012, 01:18 AM   #6
Alchemikos
Member
 
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by evo2 View Post
Hi,

ok, so I think I understand what you are asking... if so you be able to do this by running ttysnoop for tty1 in an xterm (or any other X11 terminal emulator).

HTH,

Evo2.
Interesting ... How could be these commands lines that you say?
 
Old 07-02-2012, 01:26 AM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

Quote:
Originally Posted by Alchemikos View Post
How could be these commands lines that you say?
Sorry, I don't understand. Could you rephrase the question?

Evo2.
 
Old 07-02-2012, 11:23 AM   #8
Alchemikos
Member
 
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by evo2 View Post
Hi,


Sorry, I don't understand. Could you rephrase the question?

Evo2.

Sorry again, it's a shame when a guy (me) is so newbie that cannot elaborate a question! Heheh

Imagine that I can run my slackware in text mode, ok it's easy I just need don't load the X, in my case XFCE.
Now imagine that I could run the XFCE and in the terminal/console view what's happening in the slack text mode layer, while I run the X.

For example, I click the Chromium Broswer button,to open it, and when look to the terminal there's a line " /sbin/chromium'.

It's possible?

Thanks
 
Old 07-02-2012, 06:20 PM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

Quote:
Originally Posted by Alchemikos View Post
For example, I click the Chromium Broswer button,to open it, and when look to the terminal there's a line " /sbin/chromium'.

It's possible?
The system is not set up to automatically log that type of information. It is probably possible to do, but I don't know how.

The closest thing I can think of that will do something similar to what you want is probably "xconsole", or alternatively you can "tail -f" one or more of the log files in /var/log/

Evo2.
 
1 members found this post helpful.
Old 07-02-2012, 06:24 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You could try something like
Code:
tail -f /dev/console
but as above, its not a normal thing to want to do.
I'd google around; conceptually you want to do what I just said, but the cmd(s) may differ.
 
1 members found this post helpful.
Old 07-02-2012, 07:21 PM   #11
Alchemikos
Member
 
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88

Original Poster
Rep: Reputation: 6
Yes now I'll read the man for tail....

Reading in a old book (2002) I read about the ps command, so my imagination was like the command:
Code:
# ps awwwwux
But updating itself, 'cause this ps command is static.

A command that I found that isn't static is the:
Code:
# top
Have a lot of options and interactive commands, that could be near what I looking for.

The best could be a mixture from these two commands or a ps command refreshing as the text mode.
 
Old 07-02-2012, 07:24 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Well, this would be more up to date http://linux.die.net/man/
 
1 members found this post helpful.
Old 07-03-2012, 12:28 AM   #13
Alchemikos
Member
 
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88

Original Poster
Rep: Reputation: 6
Talking

Quote:
Originally Posted by chrism01 View Post
Well, this would be more up to date http://linux.die.net/man/
Really the top command is the nearest with that I imagined.
I read the man pages and did a set that begins to became what I said.

Here my settings, first backup the file: /.prc

Code:
# nano /root/.toprc
Then:


Code:
RCfile for "top with windows"           # shameless braggin'
Id:a, Mode_altscr=1, Mode_irixps=1, Delay_time=1.000, Curwin=0
Def     fieldscur=XljgzaedhioqtwKnmfprsuvybc
        winflags=31673, sortindx=10, maxtasks=0
        summclr=1, msgsclr=1, headclr=3, taskclr=1
Job     fieldscur=XAcefgjlrstuvyzmknhiwopqdb
        winflags=63929, sortindx=0, maxtasks=0
        summclr=6, msgsclr=1, headclr=3, taskclr=1
Mem     fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
        winflags=64376, sortindx=13, maxtasks=0
        summclr=1, msgsclr=1, headclr=3, taskclr=1
Usr     fieldscur=AbdEcGFHIjloPqrstUvyzMKNWX
        winflags=64376, sortindx=12, maxtasks=0
        summclr=1, msgsclr=1, headclr=3, taskclr=1

The screenshot in attachament!

Thank's a LOT!

Alchemikos
Attached Thumbnails
Click image for larger version

Name:	snapshot2.jpg
Views:	19
Size:	151.1 KB
ID:	10024  
 
Old 07-03-2012, 10:13 AM   #14
Alchemikos
Member
 
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88

Original Poster
Rep: Reputation: 6
Linux Top Man Page:


Quote:
6a. Kernel Magic

For these stupid tricks, top needs full-screen mode.
-*-
The user interface, through prompts and help, intentionally implies that the delay interval is limited to tenths of a second. However, you're free to set any desired delay. If you want to see Linux at his scheduling best, try a delay of .09 seconds or less.

For this experiment, under x-windows open an xterm and maximize it. Then do the following: . provide a scheduling boost and tiny delay via: nice -n -10 top -d.09 . keep sorted column highlighting Off to minimize path length . turn On reverse row highlighting for emphasis . try various sort columns (TIME/MEM work well), and normal or reverse sorts to bring the most active processes into view
What you'll see is a very busy Linux doing what he's always done for you, but there was no program available to illustrate this.
-*-
Was no program but you guys help me a lot! And it is the nearest that can be made, so I'll consider this thread solved. And post any setting that make it better aiming what I imagined!

Thank you All!

Alchemikos
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vncviewer in console/text mode MikeyCarter Linux - Software 7 07-11-2007 04:03 PM
accessing text console in graphical mode? b123coder Linux - Software 1 11-17-2004 07:42 PM
What do you use terminal in X or text mode? HadesThunder Linux - General 9 05-05-2004 05:13 AM
How to boot into console (text) mode? dhsieh Linux - Hardware 2 10-02-2003 07:45 PM
Text Editor in Console Mode ? membrax Linux - Hardware 5 12-28-2002 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration