Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › echo "The `uname` Club" (NEW POLL)
New Posts  All Forums:Forum Nav:

echo "The `uname` Club" (NEW POLL) - Page 234

Poll Results: How long have you been using your current, main installation?

 
  • 24% (50)
    less then a month
  • 23% (47)
    less then six months
  • 14% (30)
    less then a year
  • 24% (49)
    less then three years
  • 13% (27)
    three years+
203 Total Votes  
post #2331 of 4043
Quote:
Originally Posted by Rookie1337 View Post

So there's no man for "set" but I'm guessing it does the forking thing; or is that from using the whole 2>&1 thing?
Neither. Here's a quick breakdown:
Code:
set -xv
Enables verbosity / debugging. It's a shell environment so that would be why you don't see a man page.
Code:
2>&1
Redirects standard error (STDERR) to the standard output (STDOUT). If this doesn't make any sense, then basically Linux / UNIX has multiple output steams; an error and regular output one. From the terminal, both normally just get printed to screen. But you can manipulate them separately. There'll be more information on this floating about the net so just google for "UNIX file streams stderr" or something to that effect.

The reason I did this was because of the next point
Code:
>/dev/null
You probably already know this one - basically just redirect output to /dev/null (ie don't display anything to console). I only did this so that XBMC wouldn't spam the hell out of your console output (which some GUI apps do) and thus it would be easier to debug what your script was doing / where it was failing.
Code:
command &
Putting an ampersand at the end of a command tells your shell to run the command in the background. Crudely speaking, you're daemonising it.

This is what you were missing from your script, however I'd probably still recommend you use mine because --standalone is normally used for running XBMC (no idea why, but the DE icons all have it so I'm guessing it's important) and the sh -s bit in yours seems rather pointless.
post #2332 of 4043
Quote:
Originally Posted by Rookie1337 View Post

I sure hope I can find some time and materials to learn a little more scripting over the summer. You know any good books or places with examples and explanations?

Hi Rookie,
I suppose you already know about the O'Reilly books. They're pretty great. The below link to a TLDP site/doc is quite useful. I'm also curious about using "sh" for xbmc. Do you use a launch script symlinked or something?

Advanced Bash Scripting

@Plan9 - Nice clean script mate
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
NewMain
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 - 3550 Asrock Z77 Extreme4 Gigabyte GTX 760  4x2GB Corsair Vengeance 
Hard DriveOptical DriveCoolingOS
Seagate SATA 2TB x 2  Plextor PX-891SAW CM-Hyper N520 Slackware 14, Studio KUbuntu, OpenSuSe 12.3, Wi... 
MonitorKeyboardPowerCase
32" Vizio HDTV + DLP Logitech Wireless Corsair HX-850 Antec Sonata I 
MouseMouse PadAudioOther
Razer DeathAdder 2013 dual ESI Juli@ CoolGear ExtSata Enclosure w/ Optical and 3TB S... 
  hide details  
Reply
post #2333 of 4043
Quote:
Originally Posted by Plan9 View Post

It takes less than 3 seconds to boot from power to desktop on my laptop with Arch and legacy BIOS as well

Mine is about 5-6 seconds. So saving an extra 2-3 seconds isn't really that major for me personally.

UEFI really has a ways to go in my opinion to really have an advantage over standard legacy boots. The only real benefit to it is it allows Microsoft to secure even that much more of the computer field with the likes of Secure Boot which isn't able to be turned off on many devices. Leaving a very select few that can be installed. Which really seems... anti-consumer to me. Not a problem for desktops the majority of the time, but for more closed devices such as laptops and tablets, it poses a problem in my eyes.
post #2334 of 4043
I just put it to sleep..

Why turn it off, to have a boot drag race?
 
DD Portable
(12 items)
 
 
CPUMotherboardGraphicsRAM
i5 5675C Gigabyte GA-Z97X Gaming 5 XFX RX 480 GTR 32GB Corsair Vengeance 1600 
Hard DriveHard DriveHard DriveCooling
Samsung 840 Evo Western Digital Black RE4 2TB Western Digital Green 2TB bequiet! Silent Wings 2 140mm PWM 
CoolingCoolingCoolingOS
bequiet! Silent Wings 2 140mm PWM bequiet! Shadow Wings SW1 120mm PWM bequiet! Dark Rock Pro 3 Arch X64 / Gnome and OSX 10.11 
MonitorKeyboardPowerCase
Samsung 590D 4K KBC Poker II be quiet! Straight Power 10 400W bequiet! Silent Base 800 
MouseAudioAudio
Speedlink Omni VI  Sound Blaster Z  Bose Companion 2  
CPUMotherboardGraphicsRAM
i5 3427U The Googs HD4000 4GB DDR3 
Hard DriveOSMonitorKeyboard
32GB Flash / 128GB SanDisk Extreme SD card ChromeOS / Ubuntu 14.04 12" 2560x1700 bad 
PowerCaseMouseAudio
not much  Aluminium  Trackpad it makes noise I think  
  hide details  
Reply
 
DD Portable
(12 items)
 
 
CPUMotherboardGraphicsRAM
i5 5675C Gigabyte GA-Z97X Gaming 5 XFX RX 480 GTR 32GB Corsair Vengeance 1600 
Hard DriveHard DriveHard DriveCooling
Samsung 840 Evo Western Digital Black RE4 2TB Western Digital Green 2TB bequiet! Silent Wings 2 140mm PWM 
CoolingCoolingCoolingOS
bequiet! Silent Wings 2 140mm PWM bequiet! Shadow Wings SW1 120mm PWM bequiet! Dark Rock Pro 3 Arch X64 / Gnome and OSX 10.11 
MonitorKeyboardPowerCase
Samsung 590D 4K KBC Poker II be quiet! Straight Power 10 400W bequiet! Silent Base 800 
MouseAudioAudio
Speedlink Omni VI  Sound Blaster Z  Bose Companion 2  
CPUMotherboardGraphicsRAM
i5 3427U The Googs HD4000 4GB DDR3 
Hard DriveOSMonitorKeyboard
32GB Flash / 128GB SanDisk Extreme SD card ChromeOS / Ubuntu 14.04 12" 2560x1700 bad 
PowerCaseMouseAudio
not much  Aluminium  Trackpad it makes noise I think  
  hide details  
Reply
post #2335 of 4043
Don't use my computer enough to care about that extra couple seconds so I shut it off.
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 500GB 
Hard DriveHard DriveHard DriveOS
Samsung 2TB Western Digital Red 3TB HGST Deskter 4TB Unraid 6.x 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
Reply
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 500GB 
Hard DriveHard DriveHard DriveOS
Samsung 2TB Western Digital Red 3TB HGST Deskter 4TB Unraid 6.x 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
Reply
post #2336 of 4043
I personally just put my laptop to sleep, and here's the crazy part: no swap.

also Installed Arch on my Desktop, now to see if there is a way to Chroot into it from my current Crunchbang install.
lmao rig
(30 items)
 
lmao laptop
(20 items)
 
lmao server
(17 items)
 
CPUMotherboardGraphicsRAM
[AMD] Ryzen 5 1600X [Biostar] X370GT3 [Gigabyte] GTX 1080 windforce oc [G.Skill] Ripjaws V Series 16GB (2 x 8GB) DDR4 ... 
Hard DriveHard DriveHard DriveCooling
[Samsung] 960 evo m.2 250GB [Mushkin] eco2 512GB SSD [Mushkin] enhanced reactor 500GB SSD [Corsairl] h100i v2 
CoolingOSMonitorMonitor
[Noctua] nf-S12a pwm 120mm fan x 5 [M$] Winblows 10 pro fortified and telemetry free [AOC] i2367f 23" IPS [AOC] i2367f 23" IPS 
MonitorKeyboardPowerCase
[Dell] e2311h [Qisan] White Magicforce 68 w/ MX greens [Cougar] CMX 1000 [Fractal Design] Define C mini 
MouseMouse PadAudioAudio
[Logitech] g900 chaos spectrum [GGing] black extended mousepad [Onkyo] TX-SR313 receiver [KLH] Center and rear speakers 
AudioAudioAudioAudio
[Realistic] MC-1000 front speakers [Insignia] Rocketboost subwoofer Audio-Technica] QuietPoint ath-anc7b [Zalman] clip mic 
OtherOtherOtherOther
[Keycool] KC21 keypad w/ Gateron greens [Orico] USB 3.0 HDD dock bay [Orico] 7-port powered USB 3.0 Hub [Rosewill] 10-port powered USB 2.0 Hub 
OtherOther
[Belkin] 7-port powered USB 2.0 Hub [Phanteks] Cable extensions white 
CPUMotherboardGraphicsGraphics
[Intel] i7 6700HQ [Lenovo] ideapad y [Intel] HD 530 [AMD] Radeon R9 M375 4GB 
RAMRAMHard DriveHard Drive
[Samsung] 8GB DDR4 2133 [G.Skill] Ripjaws 8GB DDR4 2133 [Adata] Premier SP550 240GB SATA III M.2 SSD [Sandisk] X400 512GB SSD 
Optical DriveCoolingOSMonitor
[Asus] slim external DVD RW stock [M$] Winblows 10 fortified and telemetry free [Lenovo] 14" 1080p monitor 
KeyboardCaseMouseAudio
[Lenovo] integrated [Lenovo] y700 shell [Lenovo] touchpad integrated 
OtherOtherOtherOther
[Vortex] Poker II keyboard w/ MX Blacks [logitech] g303 daedalus apex mouse [WASD] v2 TKL w/ MX Clears (for work) [Dell] OEM optical mouse (for work) 
CPUMotherboardGraphicsRAM
[Intel] i7 2700k [Gigabyte] ga-z77-d3h [Intel] hd 3000 [G.Skill] Ares 16GB (4x4GB) DDR3 1600 
Hard DriveHard DriveHard DriveHard Drive
[Transcend] SSD320 128GB SSD (OS) [WD] Red 1TB [WD] Red 2TB [WD] Blue 1TB 
Hard DriveOptical DriveCoolingOS
[WD] Blue 2TB [Lite-on] dvd rw [Corsair] A70 Debian 9 Stretch x86_64 
PowerCaseOtherOther
[Antec] HCG 750w PSU [Antec] DF-35 [Biostar] USB 3.0 front bracket [kingwin] 3.5" hotswap bay (x2) 
Other
[Highpoint] Rocket 620 
  hide details  
Reply
lmao rig
(30 items)
 
lmao laptop
(20 items)
 
lmao server
(17 items)
 
CPUMotherboardGraphicsRAM
[AMD] Ryzen 5 1600X [Biostar] X370GT3 [Gigabyte] GTX 1080 windforce oc [G.Skill] Ripjaws V Series 16GB (2 x 8GB) DDR4 ... 
Hard DriveHard DriveHard DriveCooling
[Samsung] 960 evo m.2 250GB [Mushkin] eco2 512GB SSD [Mushkin] enhanced reactor 500GB SSD [Corsairl] h100i v2 
CoolingOSMonitorMonitor
[Noctua] nf-S12a pwm 120mm fan x 5 [M$] Winblows 10 pro fortified and telemetry free [AOC] i2367f 23" IPS [AOC] i2367f 23" IPS 
MonitorKeyboardPowerCase
[Dell] e2311h [Qisan] White Magicforce 68 w/ MX greens [Cougar] CMX 1000 [Fractal Design] Define C mini 
MouseMouse PadAudioAudio
[Logitech] g900 chaos spectrum [GGing] black extended mousepad [Onkyo] TX-SR313 receiver [KLH] Center and rear speakers 
AudioAudioAudioAudio
[Realistic] MC-1000 front speakers [Insignia] Rocketboost subwoofer Audio-Technica] QuietPoint ath-anc7b [Zalman] clip mic 
OtherOtherOtherOther
[Keycool] KC21 keypad w/ Gateron greens [Orico] USB 3.0 HDD dock bay [Orico] 7-port powered USB 3.0 Hub [Rosewill] 10-port powered USB 2.0 Hub 
OtherOther
[Belkin] 7-port powered USB 2.0 Hub [Phanteks] Cable extensions white 
CPUMotherboardGraphicsGraphics
[Intel] i7 6700HQ [Lenovo] ideapad y [Intel] HD 530 [AMD] Radeon R9 M375 4GB 
RAMRAMHard DriveHard Drive
[Samsung] 8GB DDR4 2133 [G.Skill] Ripjaws 8GB DDR4 2133 [Adata] Premier SP550 240GB SATA III M.2 SSD [Sandisk] X400 512GB SSD 
Optical DriveCoolingOSMonitor
[Asus] slim external DVD RW stock [M$] Winblows 10 fortified and telemetry free [Lenovo] 14" 1080p monitor 
KeyboardCaseMouseAudio
[Lenovo] integrated [Lenovo] y700 shell [Lenovo] touchpad integrated 
OtherOtherOtherOther
[Vortex] Poker II keyboard w/ MX Blacks [logitech] g303 daedalus apex mouse [WASD] v2 TKL w/ MX Clears (for work) [Dell] OEM optical mouse (for work) 
CPUMotherboardGraphicsRAM
[Intel] i7 2700k [Gigabyte] ga-z77-d3h [Intel] hd 3000 [G.Skill] Ares 16GB (4x4GB) DDR3 1600 
Hard DriveHard DriveHard DriveHard Drive
[Transcend] SSD320 128GB SSD (OS) [WD] Red 1TB [WD] Red 2TB [WD] Blue 1TB 
Hard DriveOptical DriveCoolingOS
[WD] Blue 2TB [Lite-on] dvd rw [Corsair] A70 Debian 9 Stretch x86_64 
PowerCaseOtherOther
[Antec] HCG 750w PSU [Antec] DF-35 [Biostar] USB 3.0 front bracket [kingwin] 3.5" hotswap bay (x2) 
Other
[Highpoint] Rocket 620 
  hide details  
Reply
post #2337 of 4043
Quote:
Originally Posted by CSCoder4ever View Post

I personally just put my laptop to sleep, and here's the crazy part: no swap.

also Installed Arch on my Desktop, now to see if there is a way to Chroot into it from my current Crunchbang install.

Swap isn't needed for sleep. It is however needed for hibernate. I found that out the hard way once. LOL. Felt rather stupid when I did that. redface.gif
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #2338 of 4043
Quote:
Originally Posted by Rookie1337 View Post

Quote:
Originally Posted by CSCoder4ever View Post

I personally just put my laptop to sleep, and here's the crazy part: no swap.

also Installed Arch on my Desktop, now to see if there is a way to Chroot into it from my current Crunchbang install.

Swap isn't needed for sleep. It is however needed for hibernate. I found that out the hard way once. LOL. Felt rather stupid when I did that. redface.gif

Oh neat! well I'm still not sure why my desktop doesn't sleep properly though thinking.gif , though I might have an idea.
lmao rig
(30 items)
 
lmao laptop
(20 items)
 
lmao server
(17 items)
 
CPUMotherboardGraphicsRAM
[AMD] Ryzen 5 1600X [Biostar] X370GT3 [Gigabyte] GTX 1080 windforce oc [G.Skill] Ripjaws V Series 16GB (2 x 8GB) DDR4 ... 
Hard DriveHard DriveHard DriveCooling
[Samsung] 960 evo m.2 250GB [Mushkin] eco2 512GB SSD [Mushkin] enhanced reactor 500GB SSD [Corsairl] h100i v2 
CoolingOSMonitorMonitor
[Noctua] nf-S12a pwm 120mm fan x 5 [M$] Winblows 10 pro fortified and telemetry free [AOC] i2367f 23" IPS [AOC] i2367f 23" IPS 
MonitorKeyboardPowerCase
[Dell] e2311h [Qisan] White Magicforce 68 w/ MX greens [Cougar] CMX 1000 [Fractal Design] Define C mini 
MouseMouse PadAudioAudio
[Logitech] g900 chaos spectrum [GGing] black extended mousepad [Onkyo] TX-SR313 receiver [KLH] Center and rear speakers 
AudioAudioAudioAudio
[Realistic] MC-1000 front speakers [Insignia] Rocketboost subwoofer Audio-Technica] QuietPoint ath-anc7b [Zalman] clip mic 
OtherOtherOtherOther
[Keycool] KC21 keypad w/ Gateron greens [Orico] USB 3.0 HDD dock bay [Orico] 7-port powered USB 3.0 Hub [Rosewill] 10-port powered USB 2.0 Hub 
OtherOther
[Belkin] 7-port powered USB 2.0 Hub [Phanteks] Cable extensions white 
CPUMotherboardGraphicsGraphics
[Intel] i7 6700HQ [Lenovo] ideapad y [Intel] HD 530 [AMD] Radeon R9 M375 4GB 
RAMRAMHard DriveHard Drive
[Samsung] 8GB DDR4 2133 [G.Skill] Ripjaws 8GB DDR4 2133 [Adata] Premier SP550 240GB SATA III M.2 SSD [Sandisk] X400 512GB SSD 
Optical DriveCoolingOSMonitor
[Asus] slim external DVD RW stock [M$] Winblows 10 fortified and telemetry free [Lenovo] 14" 1080p monitor 
KeyboardCaseMouseAudio
[Lenovo] integrated [Lenovo] y700 shell [Lenovo] touchpad integrated 
OtherOtherOtherOther
[Vortex] Poker II keyboard w/ MX Blacks [logitech] g303 daedalus apex mouse [WASD] v2 TKL w/ MX Clears (for work) [Dell] OEM optical mouse (for work) 
CPUMotherboardGraphicsRAM
[Intel] i7 2700k [Gigabyte] ga-z77-d3h [Intel] hd 3000 [G.Skill] Ares 16GB (4x4GB) DDR3 1600 
Hard DriveHard DriveHard DriveHard Drive
[Transcend] SSD320 128GB SSD (OS) [WD] Red 1TB [WD] Red 2TB [WD] Blue 1TB 
Hard DriveOptical DriveCoolingOS
[WD] Blue 2TB [Lite-on] dvd rw [Corsair] A70 Debian 9 Stretch x86_64 
PowerCaseOtherOther
[Antec] HCG 750w PSU [Antec] DF-35 [Biostar] USB 3.0 front bracket [kingwin] 3.5" hotswap bay (x2) 
Other
[Highpoint] Rocket 620 
  hide details  
Reply
lmao rig
(30 items)
 
lmao laptop
(20 items)
 
lmao server
(17 items)
 
CPUMotherboardGraphicsRAM
[AMD] Ryzen 5 1600X [Biostar] X370GT3 [Gigabyte] GTX 1080 windforce oc [G.Skill] Ripjaws V Series 16GB (2 x 8GB) DDR4 ... 
Hard DriveHard DriveHard DriveCooling
[Samsung] 960 evo m.2 250GB [Mushkin] eco2 512GB SSD [Mushkin] enhanced reactor 500GB SSD [Corsairl] h100i v2 
CoolingOSMonitorMonitor
[Noctua] nf-S12a pwm 120mm fan x 5 [M$] Winblows 10 pro fortified and telemetry free [AOC] i2367f 23" IPS [AOC] i2367f 23" IPS 
MonitorKeyboardPowerCase
[Dell] e2311h [Qisan] White Magicforce 68 w/ MX greens [Cougar] CMX 1000 [Fractal Design] Define C mini 
MouseMouse PadAudioAudio
[Logitech] g900 chaos spectrum [GGing] black extended mousepad [Onkyo] TX-SR313 receiver [KLH] Center and rear speakers 
AudioAudioAudioAudio
[Realistic] MC-1000 front speakers [Insignia] Rocketboost subwoofer Audio-Technica] QuietPoint ath-anc7b [Zalman] clip mic 
OtherOtherOtherOther
[Keycool] KC21 keypad w/ Gateron greens [Orico] USB 3.0 HDD dock bay [Orico] 7-port powered USB 3.0 Hub [Rosewill] 10-port powered USB 2.0 Hub 
OtherOther
[Belkin] 7-port powered USB 2.0 Hub [Phanteks] Cable extensions white 
CPUMotherboardGraphicsGraphics
[Intel] i7 6700HQ [Lenovo] ideapad y [Intel] HD 530 [AMD] Radeon R9 M375 4GB 
RAMRAMHard DriveHard Drive
[Samsung] 8GB DDR4 2133 [G.Skill] Ripjaws 8GB DDR4 2133 [Adata] Premier SP550 240GB SATA III M.2 SSD [Sandisk] X400 512GB SSD 
Optical DriveCoolingOSMonitor
[Asus] slim external DVD RW stock [M$] Winblows 10 fortified and telemetry free [Lenovo] 14" 1080p monitor 
KeyboardCaseMouseAudio
[Lenovo] integrated [Lenovo] y700 shell [Lenovo] touchpad integrated 
OtherOtherOtherOther
[Vortex] Poker II keyboard w/ MX Blacks [logitech] g303 daedalus apex mouse [WASD] v2 TKL w/ MX Clears (for work) [Dell] OEM optical mouse (for work) 
CPUMotherboardGraphicsRAM
[Intel] i7 2700k [Gigabyte] ga-z77-d3h [Intel] hd 3000 [G.Skill] Ares 16GB (4x4GB) DDR3 1600 
Hard DriveHard DriveHard DriveHard Drive
[Transcend] SSD320 128GB SSD (OS) [WD] Red 1TB [WD] Red 2TB [WD] Blue 1TB 
Hard DriveOptical DriveCoolingOS
[WD] Blue 2TB [Lite-on] dvd rw [Corsair] A70 Debian 9 Stretch x86_64 
PowerCaseOtherOther
[Antec] HCG 750w PSU [Antec] DF-35 [Biostar] USB 3.0 front bracket [kingwin] 3.5" hotswap bay (x2) 
Other
[Highpoint] Rocket 620 
  hide details  
Reply
post #2339 of 4043
Code:
systemd-analyze
Startup finished in 743ms (kernel) + 589ms (userspace) = 1.332s

I think that's an acceptable boot time for an arcade machine, yeah?

Edit:

Any ideas on a good way to detect generations of graphics cards?

For example, if it's a GeForce 7xxx series card I need to use the older drivers, and even older for 5/6 and ancient for 4 and lower... From there on ATi most cases would be best to use the Radeon driver right now, save for a few stray cards that only work with the proprietary catalyst drivers... Should I just bloat things up with Jockey's command line portion or is there a good simple way to do this with a script? Right now I'm using grep to detect other hardware:
Code:
lsusb | grep -q beef:5730 ; echo "minimaid=$?" >> /tmp/hwdetect

Edited by Xaero252 - 4/12/14 at 3:56pm
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
post #2340 of 4043
Quote:
Originally Posted by Xaero252 View Post

Code:
systemd-analyze
Startup finished in 743ms (kernel) + 589ms (userspace) = 1.332s

I think that's an acceptable boot time for an arcade machine, yeah?

Faster than my thinkpad thumb.gif
lmao rig
(30 items)
 
lmao laptop
(20 items)
 
lmao server
(17 items)
 
CPUMotherboardGraphicsRAM
[AMD] Ryzen 5 1600X [Biostar] X370GT3 [Gigabyte] GTX 1080 windforce oc [G.Skill] Ripjaws V Series 16GB (2 x 8GB) DDR4 ... 
Hard DriveHard DriveHard DriveCooling
[Samsung] 960 evo m.2 250GB [Mushkin] eco2 512GB SSD [Mushkin] enhanced reactor 500GB SSD [Corsairl] h100i v2 
CoolingOSMonitorMonitor
[Noctua] nf-S12a pwm 120mm fan x 5 [M$] Winblows 10 pro fortified and telemetry free [AOC] i2367f 23" IPS [AOC] i2367f 23" IPS 
MonitorKeyboardPowerCase
[Dell] e2311h [Qisan] White Magicforce 68 w/ MX greens [Cougar] CMX 1000 [Fractal Design] Define C mini 
MouseMouse PadAudioAudio
[Logitech] g900 chaos spectrum [GGing] black extended mousepad [Onkyo] TX-SR313 receiver [KLH] Center and rear speakers 
AudioAudioAudioAudio
[Realistic] MC-1000 front speakers [Insignia] Rocketboost subwoofer Audio-Technica] QuietPoint ath-anc7b [Zalman] clip mic 
OtherOtherOtherOther
[Keycool] KC21 keypad w/ Gateron greens [Orico] USB 3.0 HDD dock bay [Orico] 7-port powered USB 3.0 Hub [Rosewill] 10-port powered USB 2.0 Hub 
OtherOther
[Belkin] 7-port powered USB 2.0 Hub [Phanteks] Cable extensions white 
CPUMotherboardGraphicsGraphics
[Intel] i7 6700HQ [Lenovo] ideapad y [Intel] HD 530 [AMD] Radeon R9 M375 4GB 
RAMRAMHard DriveHard Drive
[Samsung] 8GB DDR4 2133 [G.Skill] Ripjaws 8GB DDR4 2133 [Adata] Premier SP550 240GB SATA III M.2 SSD [Sandisk] X400 512GB SSD 
Optical DriveCoolingOSMonitor
[Asus] slim external DVD RW stock [M$] Winblows 10 fortified and telemetry free [Lenovo] 14" 1080p monitor 
KeyboardCaseMouseAudio
[Lenovo] integrated [Lenovo] y700 shell [Lenovo] touchpad integrated 
OtherOtherOtherOther
[Vortex] Poker II keyboard w/ MX Blacks [logitech] g303 daedalus apex mouse [WASD] v2 TKL w/ MX Clears (for work) [Dell] OEM optical mouse (for work) 
CPUMotherboardGraphicsRAM
[Intel] i7 2700k [Gigabyte] ga-z77-d3h [Intel] hd 3000 [G.Skill] Ares 16GB (4x4GB) DDR3 1600 
Hard DriveHard DriveHard DriveHard Drive
[Transcend] SSD320 128GB SSD (OS) [WD] Red 1TB [WD] Red 2TB [WD] Blue 1TB 
Hard DriveOptical DriveCoolingOS
[WD] Blue 2TB [Lite-on] dvd rw [Corsair] A70 Debian 9 Stretch x86_64 
PowerCaseOtherOther
[Antec] HCG 750w PSU [Antec] DF-35 [Biostar] USB 3.0 front bracket [kingwin] 3.5" hotswap bay (x2) 
Other
[Highpoint] Rocket 620 
  hide details  
Reply
lmao rig
(30 items)
 
lmao laptop
(20 items)
 
lmao server
(17 items)
 
CPUMotherboardGraphicsRAM
[AMD] Ryzen 5 1600X [Biostar] X370GT3 [Gigabyte] GTX 1080 windforce oc [G.Skill] Ripjaws V Series 16GB (2 x 8GB) DDR4 ... 
Hard DriveHard DriveHard DriveCooling
[Samsung] 960 evo m.2 250GB [Mushkin] eco2 512GB SSD [Mushkin] enhanced reactor 500GB SSD [Corsairl] h100i v2 
CoolingOSMonitorMonitor
[Noctua] nf-S12a pwm 120mm fan x 5 [M$] Winblows 10 pro fortified and telemetry free [AOC] i2367f 23" IPS [AOC] i2367f 23" IPS 
MonitorKeyboardPowerCase
[Dell] e2311h [Qisan] White Magicforce 68 w/ MX greens [Cougar] CMX 1000 [Fractal Design] Define C mini 
MouseMouse PadAudioAudio
[Logitech] g900 chaos spectrum [GGing] black extended mousepad [Onkyo] TX-SR313 receiver [KLH] Center and rear speakers 
AudioAudioAudioAudio
[Realistic] MC-1000 front speakers [Insignia] Rocketboost subwoofer Audio-Technica] QuietPoint ath-anc7b [Zalman] clip mic 
OtherOtherOtherOther
[Keycool] KC21 keypad w/ Gateron greens [Orico] USB 3.0 HDD dock bay [Orico] 7-port powered USB 3.0 Hub [Rosewill] 10-port powered USB 2.0 Hub 
OtherOther
[Belkin] 7-port powered USB 2.0 Hub [Phanteks] Cable extensions white 
CPUMotherboardGraphicsGraphics
[Intel] i7 6700HQ [Lenovo] ideapad y [Intel] HD 530 [AMD] Radeon R9 M375 4GB 
RAMRAMHard DriveHard Drive
[Samsung] 8GB DDR4 2133 [G.Skill] Ripjaws 8GB DDR4 2133 [Adata] Premier SP550 240GB SATA III M.2 SSD [Sandisk] X400 512GB SSD 
Optical DriveCoolingOSMonitor
[Asus] slim external DVD RW stock [M$] Winblows 10 fortified and telemetry free [Lenovo] 14" 1080p monitor 
KeyboardCaseMouseAudio
[Lenovo] integrated [Lenovo] y700 shell [Lenovo] touchpad integrated 
OtherOtherOtherOther
[Vortex] Poker II keyboard w/ MX Blacks [logitech] g303 daedalus apex mouse [WASD] v2 TKL w/ MX Clears (for work) [Dell] OEM optical mouse (for work) 
CPUMotherboardGraphicsRAM
[Intel] i7 2700k [Gigabyte] ga-z77-d3h [Intel] hd 3000 [G.Skill] Ares 16GB (4x4GB) DDR3 1600 
Hard DriveHard DriveHard DriveHard Drive
[Transcend] SSD320 128GB SSD (OS) [WD] Red 1TB [WD] Red 2TB [WD] Blue 1TB 
Hard DriveOptical DriveCoolingOS
[WD] Blue 2TB [Lite-on] dvd rw [Corsair] A70 Debian 9 Stretch x86_64 
PowerCaseOtherOther
[Antec] HCG 750w PSU [Antec] DF-35 [Biostar] USB 3.0 front bracket [kingwin] 3.5" hotswap bay (x2) 
Other
[Highpoint] Rocket 620 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › echo "The `uname` Club" (NEW POLL)