# 4.1.1 Nicotine+ Extra's: Add On, nSysInfoD

Set of easy to add commands to display various system information

## 4.1.1.1 Nicotine+ Extra's: Add On, nCPUinfo

## nCPUinfo stands for Nicotine+ CPU info
It is one simple command that allows you to display systems CPU specification easy in Nicotine+.
nCPUinfo works on all Linux distro's without any depencies.

### Install nCPUinfo

NoName 's system is running a VIA Nehemiah @ 999.936 MHz

- 1. Start Nicotine+
- 2. insert 1 of the following command in chat input-field

      /al cpu //me 's system is running |(cat /proc/cpuinfo | grep 'model name\|MHz'|cut -d ':' -f2 | tr '\n' ' ' | sed -r 's/^(.+)  (.+)/\1 @ \2MHz/')

  /al cpu //me 's system runs on |(type=`cat /proc/cpuinfo | grep "model name" | sed 's/model name\t:/ /g'` ; speed=`cat /proc/cpuinfo | grep "cpu MHz" | awk '{ print $4 }'` ; echo " $type @ $speed MHz")
- 3. Test the script by starting nCPUinfo with following command in chat input-field.

      /cpu

## 4.1.1.2 Nicotine+ Extra's: Add On, nUPTime

## nUPTime stands for Nicotine+ Uptime
It is one simple command that allows you to display your systems uptime in Nicotine+.
nUPTime works on all Linux distro's without any depencies.

Do not change the script in anway! else it won't work!

### Install nUPTime

- 1. Start Nicotine+
- 2. insert 1 of the following command in chat input-field

  NoName 's system has been up for 1 days and 11:52 hours

  /al uptime //me 's |(var=(`uptime`) ; if [ -n "${var[11]}" ] ; then uptime | sed 's/,/ /g' | awk '{ print " system has been up for " $3 " days and " $5 " hours"}' ; else uptime | sed 's/,/ /g' | awk '{ print " system has been up for " $3 " hours" }'; fi)

  NoName 's system has been up for 1 days 11 hours 55 mins

  /al uptime //me 's |(var=(`uptime`) ; if [ -n "${var[11]}" ] ; then uptime | sed 's/,/ /g' | awk '{ print " system has been up for " $3 " days " $5 " mins"}' | sed 's/:/ hours /g' ; else uptime | sed 's/,/ /g' | awk '{ print " system has been up for " $3 " mins" }' | sed 's/:/ hours /g' ; fi)
- 3. Test the script by starting nUPTime with following command in chat input-field.

      /uptime

## 4.1.1.3 Nicotine+ Extra's: Add On, WSBash

## WSBash stands for WinSlayer Bash
It is one simple command that allows you to display Bash version easy in Nicotine+.

### Install WSBash

NoName 's version of bash is GNU 3.1.14(2)-release

- 1. Start Nicotine+
- 2. insert the following command in chat input-field

      /al bash //me 's version of bash is |( bash --version | grep gnu | awk '{ print $1 " " $4 ""}')

- 3. Test the script by starting nCPUinfo with following command in chat input-field.

      /bash

## 4.1.1.4 Nicotine+ Extra's: Add On, WSKernel

## WSBash stands for WinSlayer Kernel
It is one simple command that allows you to display Bash version easy in Nicotine+.

### Install WSBash

NoName is running Linux Kernel version 2.6.16

- 1. Start Nicotine+
- 2. insert the following command in chat input-field

      /al kernel //me is running |(cat /proc/version | awk '{ print " Linux Kernel version " $3 ""}')

- 3. Test the script by starting nCPUinfo with following command in chat input-field.

      /kernel

### Thanks to:

lee8oi ( lee8oi [at] yahoo [dot] com)
provided alternative nCPUinfo, WSBash, WSKernel and a proper nUPTime command

Back to Nicotine Guide