POSIX & linux commands

TwitterFacebook
Get flash to fully experience Pearltrees
http://www.c-sait.net/cours/processus.php

SAIT : Gestion des processus - [GNU/Linux]

Généralités | (Haut de page) | Linux sait gérer plusieurs programmes simultanément. C'est ce que l'on nomme le multitâche . Dans un environnement graphique, ce concept est plus évident de part la présence de plusieurs fenêtres à l'écran. Toutefois cet article s'interessera plutôt à la gestion du multitâche en ligne de commande. Ce qui est désigné comme processus est une instance de programme s'exécutant à un instant donné ainsi que son contexte (ou environnement ).
Dans cet article, je vais tenter d'expliquer les différentes informations que le noyau Linux nous donne au travers du fichier /proc/meminfo . Comme support, je vais afficher les données qui concernent mon système. Il s'agit d'un noyau 2.6.24-1 dans une Debian unstable. Ma machine repose sur une architecure x86 en 32 bits et contient une barrette de 1 Go de mémoire RAM. http://www.sygus.net/dotclear/index.php?post/2008/04/25/La-memoire-sous-Linux-proc-meminfo

La mémoire sous Linux : analyse du fichier /proc/meminfo - Sygus

Minimizing Memory Usage for Creating Application Subprocesses

http://www.oracle.com/technetwork/java/index.html Oracle Oracle Technology Network > Java Article Why, Where, and How JavaFX Makes Sense CaptainCasa moved from Swing to JavaFX for front-end infrastructure, explaining that implementing an employee desktop front end with native technology is a valid approach and that JavaFX is a good fit. Posted 3/13/13 // Tags: java , JavaFX , RIA // Headlines Archive
http://blog.cheztoi.net/tag/oom/ Si l’ OOM killer se déclenche sur votre serveur alors qu’il reste une bonne quantité de mémoire, conduisant au quasi crash du serveur (kill du serveur X, mysql, SSH, …), alors il vous sera peut-être nécessaire de changer le comportement de celui ci pour le désactiver. Cela se voit par des messages du genre « invoked oom-killer » dans les logs systèmes: ... Jan 28 00:52:58 box kernel: [15199.058126] mysqld invoked oom-killer: gfp_mask=0x44d0, order=2, oomkilladj=0 Jan 28 00:52:58 box kernel: [15199.058145] Pid: 5572, comm: mysqld Not tainted 2.6.28-17-generic #58-Ubuntu Jan 28 00:52:58 box kernel: [15199.058158] Call Trace: Jan 28 00:52:58 box kernel: [15199.058183] [ Pour changer ce comportement, il suffit de faire

OOM : gestion préventive de la mémoire

http://linux.byexamples.com/archives/233/write-a-message-to-login-users-through-terminal/

write a message to login users through SSH

March 10th, 2007 mysurface Posted in Admin , Common , wall , who , write | Hits: 240350 | 31 Comments » To write a message to users that have login, you can using the command write . But before that, you need to check who is login, and which terminal he is login to, use command who .

pour autoriser write pour root : "mesg y" puis pour tchatter "write root pts/X" ouvre la communication ensuite les lignes sont envoyées à l'utilisateur by uglycharly Feb 12

http://en.wikipedia.org/wiki/Dd_(Unix) In computing , “ dd ” is a common program for Unix and Unix-like operating systems whose primary purpose is to "convert and copy a file." [ 1 ] On Unix, device drivers for hardware (such as hard disks ) and special device files (such as /dev/zero and /dev/random ) appear in the file system just like normal files; dd can also read from (and in some cases write to) these files. As a result, dd can be used for tasks such as backing up the boot sector of a hard drive, and obtaining fixed amount of random data. The dd program can also perform conversions on the data as it is copied, including byte order swapping and conversion to and from the ASCII and EBCDIC text encodings. [ 2 ]

dd (Unix)

purée j'ai flippé en lançant la commande : ils auraient du appeler ça "disk destroyer" ! by uglycharly Mar 10

One-Line Shell Script ls, grep, and sed Quick, what does the following Unix/Linux command do? If you said, " Well, that's obvious; it shows a graphical representation of the current sub-directories. ", you'd be correct. You can use the command to create a program called tree that would work something like the following: Here's the command ready-to-go in a shell script: #!

Unix Tree / Linux Tree • Display Structure of Directory Hierarch

http://www.centerkey.com/tree/
Introduction Un petit tutoriel pour le programme "md5" ou "md5sum" communément appelé "checksum". L'utilitaire md5sum permet de calculer ce qu'on appelle l'empreinte d'un fichier . En anglais, fingerprint , message-digest ou encore checksum est une valeur de 128 bits correspondant à une somme de contrôle calculée à partir de l'archive. http://www.commentcamarche.net/faq/41-md5sum-verifier-l-integrite-des-telechargements

[md5sum] Vérifier l'intégrité des téléchargements

http://www.commentcamarche.net/faq/953-linux-decouper-un-fichier-en-plusieurs-parties Linux regorge d'outils pratiques permettant de manipuler les fichiers. Il existe ainsi un outil très pratique permettant de découper un fichier en plusieurs partie (afin de le transporter sur des supports de faible capacité par exemple) : il s'agit de split . L'outil split s'utilise comme ceci : split -b 1440k mon_gros_fichier

[Linux] Découper un fichier en plusieurs parties

Netstat renvoi beaucoup d'informations techniques qui ne sont pas toujours facile à comprendre. Netstat est une importante commande Dos, très utile, qui peut servir dans plusieurs domaine. http://securite-quebecos.activebb.net/t36-netstat-sous-linux

netstat sous linux

An array is a variable containing multiple values may be of same type or of different type. There is no maximum limit to the size of an array, nor any requirement that member variables be indexed or assigned contiguously. Array index starts with zero. In this article, let us review 15 various array operations in bash. This article is part of the on-going Bash Tutorial series.

The Ultimate Bash Array Tutorial with 15 Examples

Getopt and getopts

Improve your scripts argument processing wih getopt and getopts. Both "getopt" and getopts are tools to use for processing and validating shell script arguments. They are similar, but not identical. More confusingly, functionality may vary from place to place, so you need to read the man pages carefully if your usage is more than casual.

très très bon tuto sur le getopt ! tout ce que vous avez besoin de savoir sans avoir à poser la question ! by harlequin Dec 15