user@linuxtrack:~ $ python -c 'print("Soyez les bienvenus !")'

Vous n'êtes pas identifié(e).

#1 15-01-2013 00:11:27

Balam
Archey - KDEiste

Info système

Bonjour

pour avoir les Infos Système simplement depuis la Konsole il y a 2 petut truc sympa:

yaourt -S archsysinfo-git

1358201394.jpg

et

yaourt -S inxi

1358201430.jpg

inxi est plutôt complet et la lecture se son man vous sera bénéfique wink


config 1: AMD FX 4100 Black Edition / 8 Go DDR3 / 2.5 To / Nvidia GeForce GT220 1Go
laptop : DELL Inspiron 15" serie 7000 / i7-4510U / 16Go DDR3 / 1To hybrid (8Go) / intel HD 4000 + NVidia GT 750M / dualboot : W8.1 + archlinux
config 2: AMD FX 8350 Black Edition / 32 Go DDR3 / 500 Go Velociraptor + 2 To / Nvidia GeForce GTX660 2Go
Distro: Arch Linux / Desktop: KDE

Hors ligne

#2 15-01-2013 07:01:20

IceF0x
#! Gourou Linux

Re : Info système

Je préfère archsysinfo tongue


Utiliser des logiciels propriétaires, c'est comme les plats préparés, on est incapable de dire les conservateurs qu'ils contiennent, on dira toujours que c'est bon, mais ça ne remplacera jamais le repas fait maison par sa maman.
]:D #! Crunchbang & Archlinux GNU/Linux User ]:D

Hors ligne

#3 15-01-2013 14:35:15

Balam
Archey - KDEiste

Re : Info système

oui il est plus beau ^^ et suis avec tout mes fond d'écran avec logo arch ^^
inxi -F est plus complet sur la config , c'est pratique pour les demandes d'aide :=)


config 1: AMD FX 4100 Black Edition / 8 Go DDR3 / 2.5 To / Nvidia GeForce GT220 1Go
laptop : DELL Inspiron 15" serie 7000 / i7-4510U / 16Go DDR3 / 1To hybrid (8Go) / intel HD 4000 + NVidia GT 750M / dualboot : W8.1 + archlinux
config 2: AMD FX 8350 Black Edition / 32 Go DDR3 / 500 Go Velociraptor + 2 To / Nvidia GeForce GTX660 2Go
Distro: Arch Linux / Desktop: KDE

Hors ligne

#4 07-03-2013 12:03:52

Balam
Archey - KDEiste

Re : Info système

il faut glxinfo pour inxi .... dispo via mesa sur archlinux wink


config 1: AMD FX 4100 Black Edition / 8 Go DDR3 / 2.5 To / Nvidia GeForce GT220 1Go
laptop : DELL Inspiron 15" serie 7000 / i7-4510U / 16Go DDR3 / 1To hybrid (8Go) / intel HD 4000 + NVidia GT 750M / dualboot : W8.1 + archlinux
config 2: AMD FX 8350 Black Edition / 32 Go DDR3 / 500 Go Velociraptor + 2 To / Nvidia GeForce GTX660 2Go
Distro: Arch Linux / Desktop: KDE

Hors ligne

#5 07-03-2013 13:18:11

arpinux
nakedev

Re : Info système

ou alors, depuis n'importe quelle distro, une tite function dans le bashrc/zshrc pour obtenir une infosbox de ce style (à éditer selon votre config) smile
infos box

le code

# infos ----------------------------------------------------------------
# generate space report
function space() { du -skh * | sort -hr ; }
# disk usage
function dduse() { echo -e " `df -h | grep sda1 | awk '{print $5}'` used -- `df -h | grep sda1 | awk '{print $4}'` free"; }
# mem usage
function mmuse() { echo -e " `free -m | grep buffers/cache | awk '{print $3}'` used -- `free -m | grep buffers/cache | awk '{print $4}'` free"; }
# temps
function temps() { echo -e " cpu: `sensors | grep temp1 | tail -n1 | awk '{print $2}'` -- hdd: +`sudo hddtemp /dev/sda | awk '{print $4}'`"; }
# processes
function my_ps() { ps $@ -u $USER -o pid,%cpu,%mem,bsdtime,command ; }
function pp() { my_ps f | awk '!/awk/ && $0~var' var=${1:-".*"} ; }

# hardware -------------------------------------------------------------
# processor
function core() { cat /proc/cpuinfo | grep "model name" | cut -c14- ; }
# graphic card
function graph() { lspci | grep -i vga | cut -d: -f3 ; }
# ethernet card
function ethcard() { lspci | grep -i ethernet | cut -d: -f3 ; }
# wireless card
function wfcard() { lspci | grep -i network | cut -d: -f3 ; }

# battery --------------------------------------------------------------
function batt()
{
    # check main battery
    B0CHG=$(cat /sys/class/power_supply/BAT0/status)
    B0FULL=$(cat /sys/class/power_supply/BAT0/energy_full)
    B0NOW=$(cat /sys/class/power_supply/BAT0/energy_now)
    B0PERC=$(( (( $B0NOW * 100 )) / $B0FULL ))
    # check dockstation battery
    if [ -d /sys/class/power_supply/BAT2 ];then
        B2CHG=$(cat /sys/class/power_supply/BAT2/status)
        B2FULL=$(cat /sys/class/power_supply/BAT2/energy_full)
        B2NOW=$(cat /sys/class/power_supply/BAT2/energy_now)
        B2PERC=$(( (( $B2NOW * 100 )) / $B2FULL ))

        B2STA=$(echo -e "${blue}/$NC dock: $B2CHG - $B2PERC %")
    else
        B2STA=
    fi
    # output
    echo -e " main: $B0CHG - $B0PERC % $B2STA"
}

# local ip address -----------------------------------------------------
function my_lip()
{
    # wired interface
    if [ "$(cat /sys/class/net/eth0/operstate)" = "up" ];then
        MY_ETH0IP=$(sudo /sbin/ifconfig eth0 | awk '/inet/ {print $2}' | sed -e s/addr://)
    else
        MY_ETH0IP=$(echo "not connected")
    fi
    # wireless interface
    if [ "$(cat /sys/class/net/eth1/operstate)" = "up" ];then
        MY_ETH1IP=$(sudo /sbin/ifconfig eth1 | awk '/inet/ {print $2}' | sed -e s/addr://)
    else
        MY_ETH1IP=$(echo "not connected")
    fi
    # output
    echo -e " wired: $MY_ETH0IP -- wireless: $MY_ETH1IP"
}

# public ip address ----------------------------------------------------
function my_eip()
{
    if [ "$(cat /sys/class/net/eth0/operstate)" = "up" ] || [ "$(cat /sys/class/net/eth1/operstate)" = "up" ];then
        MY_EXIP=$(wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g')
    else
        MY_EXIP=$(echo "not connected")
    fi
    # output
    echo -e " $MY_EXIP"
}

# openports ------------------------------------------------------------
function oports() { sudo netstat -nap --inet | head -n 18 | ccze -A; }

# infobox --------------------------------------------------------------
function ii()
{
    echo
    echo -e "${red}                                                           ┌─────────────────────────┐"
    echo -e "${red}┌──────────────────────────────────────────────────────────┤$NC      Debian InfoBox    ${red} │"
    echo -e "${red}│          ┌──────────────────┐                            └────────────┬────────────┘"
    echo -e "${red}├──────────┤${bblue} IBM ThinkPad x31${red} ├─────────────────────────────────────────┘"
    echo -e "${red}│          └──────────────────┘"
    echo -e "${red}│${blue}┌── agenda ────────────────────────────────────────────────────────────"
    echo -e "${red}│${blue}└$NC `date +'%A, %B %-d, %Y -- %I:%M %P'`"
    echo -e "${red}│${bblue}┌── processor information ─────────────────────────────────────────────"
    echo -e "${red}│${bblue}└$NC `core`"
    echo -e "${red}│${bblue}┌── graphic information ───────────────────────────────────────────────"
    echo -e "${red}│${bblue}└$NC`graph`"
    echo -e "${red}│${bblue}┌── ethernet information ──────────────────────────────────────────────"
    echo -e "${red}│${bblue}└$NC`ethcard`"
    echo -e "${red}│${bblue}┌── wireless information ──────────────────────────────────────────────"
    echo -e "${red}│${bblue}└$NC`wfcard`"
    echo -e "${red}│          ┌────────────────────────────┐"
    echo -e "${red}├──────────┤${bgreen} Debian GNU/Linux livarp 04${red} │"
    echo -e "${red}│          └────────────────────────────┘"
    echo -e "${red}│${yellow}┌── kernel information ────────────────────────────────────────────────"
    echo -e "${red}│${yellow}└$NC `uname -a`"
    echo -e "${red}│${bcyan}┌── machine stats ─────────────────────────────────────────────────────"
    echo -e "${red}│${bcyan}└$NC`uptime`"
    echo -e "${red}│${bgreen}┌── memory stats ──────────────────────────────────────────────────────"
    echo -e "${red}│${bgreen}└$NC`mmuse`"
    echo -e "${red}│${green}┌── disk stats ────────────────────────────────────────────────────────"
    echo -e "${red}│${green}└$NC`dduse`"
    echo -e "${red}│${blue}┌── batt stats ────────────────────────────────────────────────────────"
    echo -e "${red}│${blue}└$NC`batt`"
    echo -e "${red}│${yellow}┌── sensors ───────────────────────────────────────────────────────────"
    echo -e "${red}│${yellow}└$NC`temps`"
    echo -e "${red}│${cyan}┌── local IP address ──────────────────────────────────────────────────"
    echo -e "${red}│${cyan}└$NC`my_lip`"
    echo -e "${red}│${cyan}┌── external IP address ───────────────────────────────────────────────"
    echo -e "${red}│${cyan}└$NC`my_eip`"
    echo -e "${red}│          ┌──────────────────┐"
    echo -e "${red}├──────────┤${bcyan} Open Connections${red} │"
    echo -e "${red}│          └──────────────────┘"
    echo -e "${red}│$NC `oports`"
    echo -e "${red}└────────────────────────────────────────────────────────────────────┤│"
    
}

Hors ligne

#6 07-03-2013 20:15:27

IceF0x
#! Gourou Linux

Re : Info système

Vu comme ça, on dirais un conky, il me semble que sur la version 2 tu en avait fait un plus joli ou j'ai rêvé ??


Utiliser des logiciels propriétaires, c'est comme les plats préparés, on est incapable de dire les conservateurs qu'ils contiennent, on dira toujours que c'est bon, mais ça ne remplacera jamais le repas fait maison par sa maman.
]:D #! Crunchbang & Archlinux GNU/Linux User ]:D

Hors ligne

#7 07-03-2013 20:24:10

arpinux
nakedev

Re : Info système

tu parles peut-être du conky fullscreen : http://arpinux.deviantart.com/art/fulls … -333021960 ? sinon je vois pas..

Hors ligne

#8 07-03-2013 20:39:15

IceF0x
#! Gourou Linux

Re : Info système

Non c'était dans ton wiki.


Utiliser des logiciels propriétaires, c'est comme les plats préparés, on est incapable de dire les conservateurs qu'ils contiennent, on dira toujours que c'est bon, mais ça ne remplacera jamais le repas fait maison par sa maman.
]:D #! Crunchbang & Archlinux GNU/Linux User ]:D

Hors ligne

#9 11-03-2013 12:56:55

Balam
Archey - KDEiste

Re : Info système

je test dès que je peux wink


config 1: AMD FX 4100 Black Edition / 8 Go DDR3 / 2.5 To / Nvidia GeForce GT220 1Go
laptop : DELL Inspiron 15" serie 7000 / i7-4510U / 16Go DDR3 / 1To hybrid (8Go) / intel HD 4000 + NVidia GT 750M / dualboot : W8.1 + archlinux
config 2: AMD FX 8350 Black Edition / 32 Go DDR3 / 500 Go Velociraptor + 2 To / Nvidia GeForce GTX660 2Go
Distro: Arch Linux / Desktop: KDE

Hors ligne

#10 13-11-2013 10:35:48

Balam
Archey - KDEiste

Re : Info système

% inxi -h
inxi supports the following options. You can combine them, or list them
one by one: Examples: inxi -v4 -c6 OR inxi -bDc 6
 
If you start inxi with no arguments, it will show the short form.
The following options if used without -F, -b, or -v will show just option line(s):
A,C,D,G,I,M,N,P,R,S,f,i,n,o,p,l,u,r,s,t - you can use these alone or together to show
just the line(s) you want to see.
If you use them with -v [level], -b or -F, it will show the full output for that line 
along with the output for the chosen verbosity level.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output Control Options:
-A  Audio/sound card information.
-b  Basic output, short form. Like inxi -v 2, only minus hard disk names.
-c  Color schemes. Scheme number is required. Color selectors run a color selector option
    prior to inxi starting which lets you set the config file value for the selection.
    Supported color schemes: 0-32 Example: inxi -c 11
    Color selectors for each type display (NOTE: irc and global only show safe color set):
    94 - Console, out of X
    95 - Terminal, running in X - like xTerm
    96 - Gui IRC, running in X - like Xchat, Quassel, Konversation etc.
    97 - Console IRC running in X - like irssi in xTerm
    98 - Console IRC not in  X
    99 - Global - Overrides/removes all settings. Setting specific removes global.
-C  Full CPU output, including per CPU clockspeed (if available).
-d  Optical drive data. Same as -Dd. See also -x and -xx.
-D  Full hard Disk info, not only model, ie: /dev/sda ST380817AS 80.0GB. See also -x and -xx.
-f  All cpu flags, triggers -C. Not shown with -F to avoid spamming. ARM cpus show 'features'.
-F  Full output for inxi. Includes all Upper Case line letters, plus -s and -n.
    Does not show extra verbose options like -x -d -f -u -l -o -p -t -r
-G  Graphic card information (card, x type, resolution, glx renderer, version).
-i  Wan IP address, and shows local interfaces (requires ifconfig network tool). Same as -Nni
    Not shown with -F for user security reasons, you shouldn't paste your local/wan IP.
-I  Information: processes, uptime, memory, irc client (or shell type), inxi version.
-l  Partition labels. Default: short partition -P. For full -p output, use: -pl (or -plu).
-M  Machine data. Motherboard, Bios, and if present, System Builder (Like Lenovo).
    Older systems/kernels without the required /sys data can use dmidecode instead, run as root.
-n  Advanced Network card information. Same as -Nn. Shows interface, speed, mac id, state, etc.
-N  Network card information. With -x, shows PCI BusID, Port number.
-o  Unmounted partition information (includes UUID and LABEL if available).
    Shows file system type if you have file installed, if you are root OR if you have
    added to /etc/sudoers (sudo v. 1.7 or newer): <username> ALL = NOPASSWD: /usr/bin/file (sample)
-p  Full partition information (-P plus all other detected partitions).
-P  Basic partition information (shows what -v 4 would show, but without extra data).
    Shows, if detected: / /boot /home /tmp /usr /var. Use -p to see all mounted partitions.
-r  Distro repository data. Supported repo types: APT; PACMAN; PISI; YUM; URPMQ; Ports.
-R  RAID data. Shows RAID devices, states, levels, and components, and extra data with -x/-xx
    md-raid: If device is resyncing, shows resync progress line as well.
-s  Sensors output (if sensors installed/configured): mobo/cpu/gpu temp; detected fan speeds.
    Gpu temp only for Fglrx/Nvidia drivers. Nvidia shows screen number for > 1 screens.
-S  System information: host name, kernel, desktop environment (if in X), distro
-t  Processes. Requires extra options: c (cpu) m (memory) cm (cpu+memory). If followed by numbers 1-20,
    shows that number of processes for each type (default: 5; if in irc, max: 5): -t cm10
    Make sure to have no space between letters and numbers (-t cm10 - right, -t cm 10 - wrong).
-u  Partition UUIDs. Default: short partition -P. For full -p output, use: -pu (or -plu).
-v  Script verbosity levels. Verbosity level number is required. Should not be used with -b or -F
    Supported levels: 0-7 Example: inxi -v 4
    0 - Short output, same as: inxi
    1 - Basic verbose, -S + basic CPU + -G + basic Disk + -I.
    2 - Networking card (-N), Machine (-M) data, shows basic hard disk data (names only),
        and, if present, basic raid (devices only, and if inactive, notes that). similar to: inxi -b
    3 - Advanced CPU (-C), network (-n) data, and switches on -x advanced data option.
    4 - Partition size/filled data (-P) for (if present):/, /home, /var/, /boot
        Shows full disk data (-D).
    5 - Audio card (-A); sensors (-s), partition label (-l) and UUID (-u), short form of optical drives,
        standard raid data (-R).
    6 - Full partition (-p), unmounted partition (-o), optical drive (-d), full raid; triggers -xx.
    7 - Network IP data (-i); triggers -xxx.
-w  Local weather data/time. To check an alternate location, see: -W <location>.
    For extra weather data options see -x, -xx, and -xxx.
-W  <location> - <location> supported options: postal code; city,[state/country]; latitude,longitude
    Only use if you want the weather somewhere other than the machine running inxi.
    Use only ascii characters, replace spaces in city/state/country names with +: new+york,ny
-x  Adds the following extra data (only works with verbose or line output, not short form): 
    -C - Bogomips on Cpu;
    -d - Extra optical drive data; adds rev version to optical drive.
    -D - Hdd temp with disk data if you have hddtemp installed, if you are root OR if you have added to
         /etc/sudoers (sudo v. 1.7 or newer): <username> ALL = NOPASSWD: /usr/sbin/hddtemp (sample)
    -G - Direct rendering status for Graphics (in X).
    -G - (for single gpu, nvidia driver) screen number gpu is running on.
    -i - IPv6 as well for LAN interface (IF) devices.
    -I - System GCC, default. With -xx, also show other installed GCC versions.
       - If running in console, not in IRC client, shows shell version number if detected.
    -N -A - Version/port(s)/driver version (if available) for Network/Audio;
    -N -A -G - Network, audio, graphics, shows PCI Bus ID/Usb ID number of card;
    -R - md-raid: Shows component raid id. Adds second RAID Info line: raid level; report on drives (like 5/5);
         blocks; chunk size; bitmap (if present). Resync line, shows blocks synced/total blocks.
       - zfs-raid: Shows raid array full size; available size; portion allocated to RAID
    -S - Desktop toolkit if avaliable (GNOME/XFCE/KDE only); Kernel gcc version
    -t - Memory use output to cpu (-xt c), and cpu use to memory (-xt m).
    -w/-W - Wind speed and time zone (-w only).
-xx Show extra, extra data (only works with verbose or line output, not short form): 
    -A - Chip vendor:product ID for each audio device.
    -D - Disk serial number.
    -G - Chip vendor:product ID for each video card.
    -I - Other detected installed gcc versions (if present).
         Adds parent program (or tty) for shell info if not in IRC (like Konsole or Gterm).
    -M - Chassis information, bios rom size (dmidecode only), if data for either is available.
    -N - Chip vendor:product ID for each nic.
    -R - md-raid: Superblock (if present); algorythm, U data. Adds system info line
         (kernel support,read ahead, raid events). If present, adds unused device line. 
         Resync line, shows progress bar.
    -S - Display manager (dm) in desktop output, if in X (like kdm, gdm3, lightdm).
    -w/-W - Humidity, barometric pressure.
    -xx -@ <11-14> - Automatically uploads debugger data tar.gz file to ftp.techpatterns.com.
-xxx Show extra, extra, extra data (only works with verbose or line output, not short form): 
    -S - Panel/shell information in desktop output, if in X (like gnome-shell, cinnamon, mate-panel).
    -w/-W - Location (uses -z/irc filter), weather observation time, wind chill, heat index,
         dew point (shows extra lines for data where relevant).
-z  Security filters for IP/Mac addresses, location, user home directory name. Default on for irc clients.
-Z  Absolute override for output filters. Useful for debugging networking issues in irc for example.
 
Additional Options:
-h --help      This help menu.
-H             This help menu, plus developer options. Do not use dev options in normal operation!
--recommends   Checks inxi application dependencies + recommends, and directories, then shows
               what package(s) you need to install to add support for that feature.
-U             Auto-update script. Will also install/update man page. Note: if you installed as root, you
               must be root to update, otherwise user is fine. Man page installs require root user mode.
-V --version   inxi version information. Prints information then exits.
 
Debugging Options:
-%  Overrides defective or corrupted data.
-@  Triggers debugger output. Requires debugging level 1-14 (8-10 - logging of data).
    Less than 8 just triggers inxi debugger output on screen.
    1-7  - On screen debugger output
    8    - Basic logging
    9    - Full file/sys info logging
    10   - Color logging.
    The following create a tar.gz file of system data, plus collecting the inxi output to file:
    To automatically upload debugger data tar.gz file to ftp.techpatterns.com: inxi -xx@ <11-14>
    For alternate ftp upload locations: Example: inxi -! ftp.yourserver.com/incoming -xx@ 14
    11 - With data file of xiin read of /sys.
    12 - With xorg conf and log data, xrandr, xprop, xdpyinfo, glxinfo etc.
    13 - With data from dev, disks, partitions, etc., plus xiin data file.
    14 - Everything, full data collection.
Advanced Options:
-! 31  Turns off hostname in output. Useful if showing output from servers etc.
-! 32  Turns on hostname in output. Overrides global B_SHOW_HOST='false'

config 1: AMD FX 4100 Black Edition / 8 Go DDR3 / 2.5 To / Nvidia GeForce GT220 1Go
laptop : DELL Inspiron 15" serie 7000 / i7-4510U / 16Go DDR3 / 1To hybrid (8Go) / intel HD 4000 + NVidia GT 750M / dualboot : W8.1 + archlinux
config 2: AMD FX 8350 Black Edition / 32 Go DDR3 / 500 Go Velociraptor + 2 To / Nvidia GeForce GTX660 2Go
Distro: Arch Linux / Desktop: KDE

Hors ligne

Pied de page des forums