« first day (2328 days earlier)      last day (2627 days later) » 

1:40 AM
booooooi
finally something I'm getting
 
 
13 hours later…
2:58 PM
@StephenKitt are you around?
 
@terdon (sepulchral voice) you have summoned me, mortal?
2
 
Ha! Yes.
1
Q: Monitoring CPU fan speed on Lenovo system x3650 m5 (8871) on RHEL7

Sidney SeitzI need to monitor an Lenovo system x3650 m5 (8871) server. Unfortunately lm_sensor just show the CPU temperature. Do anyone have an advice, how I could monitor the fan speed with an commandline tool? Output sensors: sensors power_meter-acpi-0 Adapter: ACPI interface power1: 141.00 W (in...

Is there an acpi package for RHEL7? I can only find acpid.
I want this for the OP:
$ acpi --everything
Battery 0: Unknown, 97%
Battery 0: design capacity 5772 mAh, last full capacity 6047 mAh = 100%
Adapter 0: on-line
Thermal 0: ok, 44.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 128.0 degrees C
Cooling 0: Processor 0 of 10
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
Cooling 3: Processor 0 of 10
Cooling 4: iwlwifi no state information available
Cooling 5: intel_powerclamp no state information available
Cooling 6: Processor 0 of 10
Or does that only make sense on laptops?
 
@terdon I can only see acpid too, but there is lm_sensors.
 
@StephenKitt Not reporting fan speed for the OP. And their output suggests that acpi might:
sensors
power_meter-acpi-0
Adapter: ACPI interface
power1:      141.00 W  (interval =   1.00 s)
 
@terdon or better yet, IPMI
 
3:06 PM
@StephenKitt He seems to have that:
Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no):
Found `IPMI BMC KCS' at 0xcc0...                            Success!
    (confidence 8, driver `to-be-written')
 
yeah that's why I mentioned it
 
But still no fan speed.
Ah, you mean there's some ipmi tool that can be installed?
freeipmi?
 
yeah that's what I'm checking
ipmitool might do the trick, freeipmi would work for sure (that's what I use)
usually you need a login/password though
but perhaps on the system being monitored, ipmi_si (the kernel module) gives access to monitoring info without a password
ah yes
 
I assume the OP is root.
 
ipmitool sensor
 
3:10 PM
@StephenKitt Is that part of freeipmi or should I tell the op to install ipmitool directly?
 
I'm writing an answer
 
Ah, even better, thanks.
 
3:22 PM
@SidneySeitz hi, give me a sec and I can give you write access
OK, it should work now. I'm not sure, but you might need to refresh the page @SidneySeitz.
 
@terdon Thank you i just want to read the backend disscusion. :)
 
@SidneySeitz Sure, but I thought you might want to say something so you may as well have write access.
Did Stephen's answer work?
Ah, never mind, just saw your comment.
 
 
3 hours later…
6:49 PM
I'm thinking of doing Linux From Scratch in a VM. Sound reasonable?
 
VMs are good for experimenting in.
 
I was trying to do Arch in a VM, but the one-page directions didn't seem to tell me everything to get it installed. I got frustrated and went with Ubuntu Server (just so I could have an Ubuntu system to work out what I'd need to replicate my emacs system on a new computer.) I'm thinking if I do LFS I'll know enough to make Arch work (if I choose to try it again.)
I was also having trouble with Ubuntu server (I was using VirtualBox) until I made the hard drive static instead of dynamic. (every install would abort until I made the change - I tried it slightly different at least 5 times until I changed the HD setup.)
 
What's the host OS you're running VirtualBox on?
 
Ubuntu
16.04, desktop
 
I've only ever used VirtualBox on Windows 10 and macOS Sierra, and I've never had issues with dynamically allocated disk images.
 
7:21 PM
I used to do it on 14.04, didn't have problems there.
 
@AaronHall "one page directions"? Just follow the installation guide. But follow it to the letter. I've installed Arch on 4 different systems now, with very different hardware and only ever had a problem if I didn't follow every step of the installation guide.
 
I thought I was following every step, but I was using the dynamically sized drive too, so maybe it's a problem with VirtualBox.
It's all on one page.
I'll give it another shot, maybe this weekend.
 
@AaronHall Yep.
I know that I've skipped apparently minor steps like generating the locale thinking I can do it later and have ended up with a failed installation.
 
 
3 hours later…
10:33 PM
@Gilles Could someone weigh in on this please ?unix.stackexchange.com/a/346940/85039 I've provided proper and working answer for Ubuntu, even provided screenshot from a fresh Ubuntu system in VM. DopeGhoti still resist to acknowledge that my answer is proper
 
@Serg He's right.
vi invokes Vim on Ubuntu by default but you can install and run other implementations of vi.
The question explicitly asks about “vi, not vim”, so an answer that is only applicable to Vim is wrong.
 
10:50 PM
What's weird is that vim invokes nothing. :/
(causing me to waste time many times in the shell...)
 
@AaronHall what, you don't alias vim to emacs?
 
@Gilles I can understand that. but OP only mentioned vi, they didn't say they installed nvi or other implementation
Pisses me off when I'm trying to put in effort to answer, yet there's "gotchas" like that, where OP doesn't know difference between what they're talking about, vi and vim
 
11:19 PM
I'm going to figure out running an emacs server so opening a new file in emacs takes no time at all... soon.
 
11:29 PM
@AaronHall If you don't need to support Emacs ≤22 then just run emacs --daemon when you log in and emacsclient to open a file.
For Emacs 18–22, use gnuserv.
 
I'll just stick with vim here, thank you furry mush :p
Although I started with nano
 
It's ok, everybody plays with toys sometimes
 
toys ? meaning nano ?
 
I was being deliberately ambiguous
 
>:)
nano is alright for starters. Plus if someone is used to typical notepad-style of a text editor and all other IDEs out there, that'll be fine. vim and emacs are sort of acquired taste
 

« first day (2328 days earlier)      last day (2627 days later) »