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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-01-2012, 11:56 PM
|
#1
|
Member
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88
Rep:
|
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
|
|
|
07-02-2012, 12:02 AM
|
#2
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
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?
|
|
|
07-02-2012, 12:09 AM
|
#3
|
Member
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88
Original Poster
Rep:
|
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?
|
|
|
07-02-2012, 01:56 AM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415
|
You can certainly open up a terminal session (lots in fact) from within a GUI session. Have a search through your menus.
|
|
|
07-02-2012, 02:07 AM
|
#5
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
|
|
07-02-2012, 02:18 AM
|
#6
|
Member
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88
Original Poster
Rep:
|
Quote:
Originally Posted by evo2
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?
|
|
|
07-02-2012, 02:26 AM
|
#7
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by Alchemikos
How could be these commands lines that you say?
|
Sorry, I don't understand. Could you rephrase the question?
Evo2.
|
|
|
07-02-2012, 12:23 PM
|
#8
|
Member
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88
Original Poster
Rep:
|
Quote:
Originally Posted by evo2
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
|
|
|
07-02-2012, 07:20 PM
|
#9
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by Alchemikos
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.
|
07-02-2012, 07:24 PM
|
#10
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415
|
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.
|
07-02-2012, 08:21 PM
|
#11
|
Member
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88
Original Poster
Rep:
|
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: But updating itself, 'cause this ps command is static.
A command that I found that isn't static is the: 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.
|
|
|
07-02-2012, 08:24 PM
|
#12
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415
|
Well, this would be more up to date http://linux.die.net/man/
|
|
1 members found this post helpful.
|
07-03-2012, 01:28 AM
|
#13
|
Member
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88
Original Poster
Rep:
|
Quote:
Originally Posted by chrism01
|
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
|
|
|
07-03-2012, 11:13 AM
|
#14
|
Member
Registered: Jun 2012
Location: Porto Alegre-Brazil
Distribution: Slackware- 14, Debian Wheezy, Ubuntu Studio, Tails
Posts: 88
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|