> Tous les forumsLinux

 strings sur /proc/kcore
Statut du sujet : NON RESOLU Imprimer
 selim,b.
  Posté le 16/02/2005 @ 15:57  
 Astucien

2392 Messages
Bonsoir../.. Bonjour.. je me posais [url="http://forum.pcastuces.com/sujet.asp?SUJET_ID=149696"]ici[/url] une question sur l'acces a /proc/kcore avec strings.. G pu acceder avec la syntaxe suivante (merci linux planet): [code]strings /proc/kcore |grep motif[/code] .. et j'obtiens (fo patienter kcore a la taille de la ram):
[root@vitry-x.x.x.x ~]# strings /proc/kcore | grep motif [1Pgs /proc/kcore | grep "motif"\" motif strings /proc/kcore | grep "motif" [root@vitry-x.x.x. ~]# strings /proc/kcore | grep motif ←← ( ici ca doit etre la trace de ma precedente tentative) [root@vitry-x.x.x. ~]# strings /proc/kcore | grep "motif ←( idem ) strings /proc/kcore | grep motif grep motif strings /proc/kcore | grep motif strings /proc/kcore | grep motif strings /proc/kcore | grep motif grep motif grep motif grep motif oc/kcore | grep motif rings /proc/kcore | grep "motif motif motif motif motif grep "motif" motif lib/qt3/plugins/lib/styles/libqmotifplusstyle.so=30304^e3^ei686 Linux g++-3.* fu ll-config^e2005-02-09T21:26:23^e lib/qt3/plugins/lib/styles/libqmotifstyle.so=30304^e3^ei686 Linux g++-3.* full-c onfig^e2005-02-09T21:26:23^e qtmotifplus.themerc qtmotif.themerc qtmotif.themerc;41d48582re qtmotif.themerc Vienk qtmotifplus.themerc;41d48582 qtmotifplus.themercnt motifplus motif [root@vitry-x.x.x.x ~]# strings /proc/kcore | grep "motif" ←← (idem) [1Pgs /proc/kcore | grep "motif"\" motif strings /proc/kcore | grep "motif" [root@vitry-x.x.x.x ~]# strings /proc/kcore | grep motif ← ←(idem) [root@vitry-x.x.x.x ~]# strings /proc/kcore | grep "motif ←← (idem) strings /proc/kcore | grep motif grep motif strings /proc/kcore | grep motif strings /proc/kcore | grep motif strings /proc/kcore | grep motif grep motif grep motif grep motif oc/kcore | grep motif rings /proc/kcore | grep "motif motif motif motif motif grep "motif" motif lib/qt3/plugins/lib/styles/libqmotifplusstyle.so=30304^e3^ei686 Linux g++-3.* fu ll-config^e2005-02-09T21:26:23^e lib/qt3/plugins/lib/styles/libqmotifstyle.so=30304^e3^ei686 Linux g++-3.* full-c onfig^e2005-02-09T21:26:23^e qtmotifplus.themerc qtmotif.themerc qtmotif.themerc;41d48582re qtmotif.themerc Vienk qtmotifplus.themerc;41d48582 qtmotifplus.themercnt motifplus motif motif motif qmotifstyle.so=30304^e3^ei686 Linux g++-3.* full-config^e2005-02-09T21:26:23^e Keywords[fr]=types de fichiers,associations de fichiers,types MIME,motifs de fic hier,fichiers,motif,extension,extensions de fichiers,applications motif Keywords[fr]=types de fichiers,associations de fichiers,types MIME,motifs de fic hier,fichiers,motif,extension,extensions de fichiers,applications qmotifplusstyle.h qmotifstyle.h motif-customwidget-example.html motif-dialog-example.html motif-examples.html motif-extension.html motif-todo.png motif-walkthrough-1.html motif-walkthrough-10.html motif-walkthrough-2.html motif-walkthrough-3.html motif-walkthrough-4.html motif-walkthrough-5.html motif-walkthrough-6.html motif-walkthrough-7.html motif-walkthrough-8.html motif-walkthrough-9.html motif-walkthrough.html qmotif-h.html qmotif-members.html qmotif.html qmotifdialog-h.html qmotifdialog-members.html qmotifdialog.html qmotifplusstyle-h.html qmotifplusstyle-members.html qmotifplusstyle.html qmotifstyle-h.html qmotifstyle-members.html qmotifstyle.html qmotifwidget-h.html qmotifwidget-members.html qmotifwidget.html qmotif.3qt.bz2 qmotifdialog.3qt.bz2 qmotifplusstyle.3qt.bz2 qmotifstyle.3qt.bz2 qmotifwidget.3qt.bz2 <li> <a href="motif-extensionIN xdvi-motif.bin;420cfe81 xdvi-motif.bin Keywords[fr]=types de fichiers,associations de fichiers,types MIME,motifs de fic hier,fichiers,motif,extension,extensions de fichiers,applications xdvi-motif.bin Keywords[fr]=types de fichiers,associations de fichiers,types MIME,motifs de fic hier,fichiers,motif,extension,extensions de fichiers,applications un motif quand les documents sont charg contents_motif.gif index_motif.gif next_motif.gif next_motif_gr.gif previous_motif.gif previous_motif_gr.gif qtmotif.themerc qtmotifplus.themerc libqmotifstyle.so libqmotifplusstyle.so libqmotifplusstyle.so 8libqmotifstyle.so lib/qt3/plugins/lib/styles/libqmotifplusstyle.so=30303^e3^ei686 Linux g++-3.* fu ll-config^e2004-12-15T17:57:07^e lib/qt3/plugins/lib/styles/libqmotifstyle.so=30303^e3^ei686 Linux g++-3.* full-c onfig^e2004-12-15T17:57:07^e motif-walkthrough-8.html libqmotifplusstyle.so libqmotifstyle.so libqmotifplusstyle.so libqmotifstyle.so motif motifplus QMotifDND: cannot get property on motif window luslag\\nKeywords[fr]=types de fichiers,associations de fichiers,types MIME,motifs de fichier,fichiers,motif,extension,extensions de fichiers,applications\\nKeywords[gl]=Tipos de ficheiro, Asociaci qt_xa_motif_wm_hints _Z22qt_motifdnd_handle_msgP7QWidgetPK7_XEventb _Z20qt_x11_motifdnd_initv qt_motifdnd_active _Z18qt_motifdnd_enableP7QWidgetb _Z18qt_motifdnd_formati _Z23qt_motifdnd_obtain_dataPKc libqmotifplusstyle.so 8libqmotifstyle.so 127.0.0.1 dartmotif.com 127.0.0.1 dartmotif.net [root@vitry-x.x.x.x ~]#
... au stade ou j'en suis , je ne sais interpretater tout ca de maniere claire et precise... ... j'espere juste que ce soit une piste pour mieux comprendre ce kcore.. ... si quelqu'un connait une meilleure syntaxe , merci par avance de me (nous) le faire savoir... \bye. selim,b.
 Afficher le profil de selim,b.Envoyer un message privé à selim,b.
 
 
Publicité
 selim,b.  Posté le 16/02/2005 à 16:23  
Astucien

2392 Messages
re -- je "m'amuse" maintenant avec des syntaxes du genre: [code]strings /proc/kcore |grep alsa strings /proc/kcore |grep agpgart [/code] ... au fait kcore est donc bien l'architecture du systeme..
Afficher le profil de selim,b.Envoyer un message privé à selim,b.
 Revenir en haut de la page
 sogemat  Posté le 16/02/2005 à 23:01  
Astucien

2440 Messages
bah, rien de très excitant à mon avis. je n'ai encore jamais fait de recherches à ce propos, mais je pense que /proc/kcore est +- une image de la ram, et c'est peut-etre meme le fameux fichier swap, ou se rapprochant. pas très interessant par le fait que les infos sont situées n'importe ou. si éventuellement tu cherches des infos précises par rapport à un programme, autant le debugger avec GDB. outil que j'ai survolé, mais qui me semble très inférieur par rapport aux outils possibles sous win .... meme avec grep ou assimilé, l'exploration de kcore ne te donnera pas grand chose ... A+++ ;)
Afficher le profil de sogematEnvoyer un message privé à sogemat
 Revenir en haut de la page
 selim,b.  Posté le 16/02/2005 à 23:13  
Astucien

2392 Messages
.. oui des infos. qu'on peut trouver dans dmesg/lspci -vv/messages/ .. g juste remarque que je retrouve toute syntaxe tapees dans une konsole: rien d'enrichissant..c bien un perroquet.. Une fois chez moi, je eliminer ce perroquet et voir ce qui se passera (sur mon pauv` pc test casse coup.. si j'arrive a le faire..) salut.
Afficher le profil de selim,b.Envoyer un message privé à selim,b.
 Revenir en haut de la page
 selim,b.  Posté le 16/02/2005 à 23:17  
Astucien

2392 Messages
re -- on vient de me soufler qu'il sert a retrouver un n° te telephone perdu avec: [code]strings /proc/kcore | grep "06.\"[/code] hi!!.. hi!!..
Afficher le profil de selim,b.Envoyer un message privé à selim,b.
 Revenir en haut de la page
 sogemat  Posté le 16/02/2005 à 23:40  
Astucien

2440 Messages
petite info personnelle : je fait un backup mensuel de mon systeme, y compris /proc , ca ne mange pas de pain. j'ai remarqué que plus mon systeme est 'vieux', plus ca met du temps à sauvegarder dans ce Répertoire, et pour cause, autant les fichier compressé contenant /proc peut etre petit, autant il peut etre gros. la résultante peut etre proche de quelques kb, ou environ 256 mb .... environ 1/2 du /proc/kcore d'autre part, il peut s'averer qu'il y a des fichiers *.core sur la racine : ce sont des fichiers relatant où en était le systeme avant le crash de tel ou tel programme ... ca doit etre indiqué dans la compilation des sources du noyau pour etre possible :) A+++
Afficher le profil de sogematEnvoyer un message privé à sogemat
 Revenir en haut de la page
 selim,b.  Posté le 16/02/2005 à 23:50  
Astucien

2392 Messages
chez moi g un (dit de tete ): #du -h /proc/kcore 1.0G /proc/kcore (ram=768MB / swap=300 ) .. et je supprime tjrs les cores: [code]find / -name core -exec rm -f "{}" ';'[/code]
Afficher le profil de selim,b.Envoyer un message privé à selim,b.
 Revenir en haut de la page
 JereM.  Posté le 17/02/2005 à 20:51  
Petit astucien

531 Messages
Salut à tous, en cherchant encore, j'ai trouvé ceci : [url]http://www.h4ckerx.net/article.php?story=20030216221206733[/url]
[File System] / - Begins the file system structure called the root. /boot - Holds the kernel image files and modules loaded when your system boots up. /home - Contains the users' home directories. /sbin - Holds admin level commands and any used by the root user. /dev - Holds file interfaces for devices such as the terminal and printer. /etc - Holds system configuration files and any other system files. /etc/opt - Holds system config files for applications in /opt /etc/X11 - Holds system config files for the X Windows System and its applications. /bin - Holds the essential user commands and utility programs. /lib - Holds the essential shared libraries and kernal modules. /lib/modules - Holds the kernel modules. /mnt - Holds directories for mounting file systems like CD ROMS or floppy disks. /opt - Holds added software apps. /proc - Process directory that is a directory containing files used to provide info aout the system. /tmp - Holds temporary files. /usr - Holds those files and commands used by the system. /var - Holds files that vary like mailbox files. /usr/bin - Holds most user commands and utility programs. /usr/sbin - Holds nonessential admin applications. /usr/lib - Holds libraries for applications, programming languages, desktops, etc... /usr/games - Games and educational programs. /usr/include - C programming language header files(.h). /usr/doc - Holds Linux documentation. /usr/local - Directory for locally installed software. /usr/share - Architecture independent dat asuch as documentation like Man and info pages. /usr/src - Holds source code, including the kernel source codes. /usr/X11R6 - X Windows System based apps and libraries. /var/account - Processes accounting logs. /var/cache - Application cache data for Man paes, Web proxy data, fonts, or application specific data. /var/crash - System crash dumps. /var/games - Varying game data. /var/lib - Holds state information for particular apps. /var/local - Used for data that changes for programs installed in /usr/local. /var/lock - Holds lock files that indicate when aparticular program or file is in use. /var/log - Holds log files such as /var/log/messages that contain all kernel and system program messages. /var/mail - Holds user mailbox files. /var/opt - Varible data for applications installed in /opt. /var/run - Info about system's running processes. /var/spool - Holds application's spool data such as that for mail, news, and printer queues as well as cron and at jobs. /var/tmp - Holds temp files that should be preserved betwen system reboots. /var/yp - Network Information Service (NIS) data files. /proc/cpuinfo - Contains info about the CPU such as its type, make, model, and performance. /proc/devices - List of the device drivers configured for the currently running kernel. /proc/dma - Displays the DMA channels currently used. /proc/filesystems - File systems configured into the kernel. /proc/interrupts - Displays the interrupts in use. /proc/ioports - Shows the I/O ports in use. /proc/kcore - Holds and image of the physcial Memory of the system. /proc/kmsg - Messages generated by the kernel. /proc/ksyms - Symbol table for the kernel. /proc/loadavg - The system "load average." /proc/meminfo - Memory usage. /proc/modules - Lists the kernel modules currently loaded. /proc/net - Status info about network protcols. /proc/stat - System operating statistics such as page fault occurrences. /proc/uptime - The time the system has been up. /proc/version - The kernel version.
Afficher le profil de JereM.Envoyer un message privé à JereM.
  Revenir en haut de la page
Haut de la page 
Inscrivez-vous !
- Posez vos questions

- Résolvez vos problèmes

- Aidez les autres

- Participez et créez vos discussions

- Dialoguez en privé avec d'autres membres

- Suivez vos sujets préférés

- Affichez les signatures des membres

TOUT EST GRATUIT !

Je crée mon compte



Vous avez besoin d'aide ?
Des centaines d'experts sont à votre disposition sur les forums PC Astuces pour vous aider gratuitement, 24h/24, 7j/7.

Les derniers sujets résolus !
 

 > Tous les forumsLinux

 
Forum PC Astuces© 1997-2008 WebastucesAller en haut de la page