LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-29-2009, 01:26 AM   #1
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Regarding GDB


Hi I am using GDB for debugging.I have the ps command to get all the process list.Now I get this output to a file using this command

ddb> ps>proceess.log
Now I want to see the output of the process.log but I cannot run the vi command on this.Does anyone know how can get to read the outpur of this file.

Thanks
Ajit
 
Old 05-29-2009, 01:40 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Ajit Gunge View Post
Hi I am using GDB for debugging.I have the ps command to get all the process list.Now I get this output to a file using this command

ddb> ps>proceess.log
Now I want to see the output of the process.log but I cannot run the vi command on this.Does anyone know how can get to read the outpur of this file.

Thanks
Ajit
I'm not sure what you're trying to do. Are you trying to create a process.log file? What is the ddb command? Do you mean this?
Code:
ps -A > /tmp/process.log
Please try to explain what you want more clearly.
cheers,
jdk
 
  


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
normal gdb and spec gdb for kgdb Igor007 Programming 1 09-23-2005 04:15 PM
normal gdb and spec gdb for kgdb Igor007 Linux - Newbie 1 09-23-2005 01:41 PM
gdb .. looking for 32 bit gdb.. for ia64 suse.. nkshirsagar SUSE / openSUSE 0 12-09-2004 03:02 AM
Gdb Jozsef Linux - Software 1 10-06-2004 01:41 PM
How to use GDB ? indian Programming 4 09-06-2004 05:11 AM

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

All times are GMT -5. The time now is 07:18 AM.

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