Recent Questions - Unix & Linux Stack Exchange |
- Mistakenly had nano at the beginning of ps -e | grep ssh-agent
- High CPU usage of postgresql
- Looking for Distro With easy OpenCL support
- Why is "ssh -t" not working as far as logging in and running a command?
- Does redirected stderr remain unbuffered in bash?
- Kali Linux Terminal jumps back to first character and bugs out
- Allocating 8MB physically contiguous memory in Linux
- Pipe for loop with awk and if
- RHEL8 - Missing yum.log from /var/log/
- Segmentation fault (core dumped) when using inotifywatch
- unpack multiple files from .tar.gz to multiple different directories
- stdint.h: no such file or directory
- Midnight commander: How to define condition in mc.menu
- Permissions of all files and directories in /usr
- No trusted certificate found when using Java for making request on HTTPS
- How to have brightness fade away before display sleeping
- Add single-value content of one file as additional column to another file
- Touch screen not working in redhat linux8.4
- How to mirror a screen in TigerVNC?
- Upload all the files and directories in a drive older than a day to AWS and delete them from the drive [closed]
- Reset NixOS container
- Failed to get D-Bus connection: Connection refused
- Dump VGA bios from linux
- Setting up squid transparent proxy with SSL bumping on Debian 10
- Asus ROG driver for ubuntu
- Get the device path of USB given device ID
- How do I mount an Ext4 File System with an alternate SuperBlock?
- Optimize ext4 for always full operation
- NFS no longer mounts: rpc-statd fails to start
Mistakenly had nano at the beginning of ps -e | grep ssh-agent Posted: 15 Sep 2021 10:21 AM PDT Like I said in the title, I accidentally ran this:
Now when I properly run I had to terminate the session to get out of the command state that left me in. In hindsight I suppose I could have just ran it again. Here's what I tried: I then got: So then I tried:
Now I have this: Can someone help me correct this? I don't want to mess with it further, as this is not an area that I'm familiar with. |
Posted: 15 Sep 2021 10:02 AM PDT I have a PostgreSQL backed complex Ruby on Rails application running on a Ubuntu Virtual Machine. I see that the Postgres processes were having very high CPU usage while running top command. Periodically the %CPU is going up to 94 and 95. gives the fallowing output I want the know the reason for the High CPU usage of Postgres. Any help is appreciated. Thanks in Advance. |
Looking for Distro With easy OpenCL support Posted: 15 Sep 2021 09:56 AM PDT I am looking for a distro with OpenCl support that is not Ubuntu or Fedora. I am open to any other distro I didnt have any luck in linux mint cinnamon. I am running an 5700XT. |
Why is "ssh -t" not working as far as logging in and running a command? Posted: 15 Sep 2021 09:44 AM PDT I'm on Mac OS Big Sur and running a virtual Ubuntu 16.04 Linux instance (using vagrant). I can run the following two commands fine (one to ssh into the virtual server, and the second to run a command within it )… I would like to be able to combine these two commands, so I tried I'm confused about what other setup I would need to run to have a single command to simulate what I'm doing initially. Any thoughts? |
Does redirected stderr remain unbuffered in bash? Posted: 15 Sep 2021 09:35 AM PDT Is there any difference between the two The only difference I can think of, if How about ? Is it the same as ? After |
Kali Linux Terminal jumps back to first character and bugs out Posted: 15 Sep 2021 09:27 AM PDT So I'm currently following a Youtube tutorial but when I try to type out the following command cat ip.txt | grep "64 bytes" | cut ..... The terminal bugs out when I type the first c in cut. I will add a gif so you can understand better what I mean. It automatically jumps to the first character of the line and the terminal bugs out unless I do CTRL + C why is that? |
Allocating 8MB physically contiguous memory in Linux Posted: 15 Sep 2021 08:23 AM PDT Can I allocate more than 4MB physically contiguous memory without enabling CONFIG_CMA kernel config parameter? Currently, I am using dma_alloc_coherent call but it fails if we try to allocate a memory more than 4MB size. |
Posted: 15 Sep 2021 08:37 AM PDT I'm trying to create a cron job that checks the status of certain worker machines and triggers a webhook: It works, but I'm not sure that this is the best approach: Output of Any advice to improve it. Thx |
RHEL8 - Missing yum.log from /var/log/ Posted: 15 Sep 2021 08:24 AM PDT |
Segmentation fault (core dumped) when using inotifywatch Posted: 15 Sep 2021 08:06 AM PDT I need to watch a file system for the creation of new files of a specific type. Thinking that this would be a perfect use case for I got the same eorror which was What's causing this? TIA |
unpack multiple files from .tar.gz to multiple different directories Posted: 15 Sep 2021 08:08 AM PDT I have a .tar.gz file that contains a backup of files across many directories. Is it possible to unpack the single .tar.gz file and have those files moved to their intended directories? If i run tar I know that thanks |
stdint.h: no such file or directory Posted: 15 Sep 2021 07:42 AM PDT I am trying to compile coremarks to benchmark one of my CPU cores I generated (from here: https://gitlab.com/incoresemi/core-generators/benchmarks/-/tree/master). I get the following error: I already have the riscv toolchain installed. I also tried installing How do I resolve this? thanks for your time in advance. |
Midnight commander: How to define condition in mc.menu Posted: 15 Sep 2021 07:24 AM PDT I'm trying to add new command, and the menu option should be displayed when the single file is selected, (it's executable and not a directory) or (not a link and the name ends with .so) or (not a link and the name contains .so.). The following condition does not work at all: Also, do I need to use brackets e.g. c1 & c2 | c3 & c4 instead of (c1 & c2) | (c3 & c4)?? |
Permissions of all files and directories in /usr Posted: 15 Sep 2021 07:29 AM PDT Oh my.. I just did a terrible mistake: Could anyone please find out using simple command, what files / directories have 'special' permissions? I know about I'm using Debian 11.. |
No trusted certificate found when using Java for making request on HTTPS Posted: 15 Sep 2021 07:25 AM PDT I'm a Java developer and I need to use a particular version of java 8 (1.8.0_162) can't use OpenJDK either. But, I'm getting this error when I try to connect / get / download / whatever from my java program on any HTTPS url
I know that the code is right, because its working on production, but I can run the code on my local machine. I think is something related to certificates, but don't know how to fix. |
How to have brightness fade away before display sleeping Posted: 15 Sep 2021 07:38 AM PDT Gnome and KDE will fade away the brightness little by little before display sleeping, how to get the function to my XFCE or xUbuntu? |
Add single-value content of one file as additional column to another file Posted: 15 Sep 2021 07:30 AM PDT I have two files. One contains several columns and rows, while the other one only contains one value:
I want to add another column to Can anyone help me do that? |
Touch screen not working in redhat linux8.4 Posted: 15 Sep 2021 07:27 AM PDT I have my lenevo T490 system from Linux 7 to 8.4 version. My touchscreen is working fine in starting but it suddenly stopped working and not able see Xinput ELAN Touchscreen. Need help to enable touch screen on my system |
How to mirror a screen in TigerVNC? Posted: 15 Sep 2021 09:09 AM PDT How to mirror a screen? I have an answer (VNC). |
Posted: 15 Sep 2021 07:25 AM PDT Please find a scenario-based question, you have to write a script to do the following and share the script : Scenario - Upload all the files and directories in a drive older than a day to AWS and delete them from the drive. |
Posted: 15 Sep 2021 09:17 AM PDT Nixos containers can be created declaring them in the |
Failed to get D-Bus connection: Connection refused Posted: 15 Sep 2021 07:59 AM PDT A
The other postings I have found on this error message are either related to Debian with an
This machine has a requirement that some TRY AGAIN WITH DIRECT LOGIN USER PER @Stewart's and @JdeBP's SUGGESTIONS: We then tried using a sudo user that has direct ssh ability from the outside world, but still got the following results: To confirm the state of
ANSWER: We decided to continue running |
Posted: 15 Sep 2021 07:59 AM PDT anyone know how to dump the vga firmware ? I have tried here but doesn't work. Anyone know how can I dump the vga bios or can try if the command at the link work for you ? Thanks so much. |
Setting up squid transparent proxy with SSL bumping on Debian 10 Posted: 15 Sep 2021 09:06 AM PDT Debian 10 with squid working as a transparent proxy. Now want to add SSL. Question 1: Now what I read says that next I need to however I cannot find Question 2: If I now proceed anyway to add in then squid fails to start: I notice that Update All of the guides on the Internet at the time of writing are obsolete because https://wiki.squid-cache.org/Features/SslBump I was hoping this might work that I got from https://serverfault.com/questions/743483/transparent-http-https-domain-filtering-proxy : but no: Update: compiling squid with SSL In ...and build... ...and install... However, still no Has it been renamed to Update: compiled squid Got squid compiled and running for HTTP but don't know what to do for HTTPS -- and nor apparently does anyone else. Is it impossible? It seems to be something to do with certificates and |
Posted: 15 Sep 2021 08:00 AM PDT I bought an Asus ROG Strix without operating system, and I've just installed Ubuntu. The keyboard led are blinking, there is a way to keep it on without blinking? |
Get the device path of USB given device ID Posted: 15 Sep 2021 10:13 AM PDT After plugging the USB to the port of my machine, if I do
If I list the devices under How do I know which one is the one with the ID This question is similar to mine, however (referring to the accepted answer) I don't know what exactly is Also, the second answer assumes that I know the device is connected to |
How do I mount an Ext4 File System with an alternate SuperBlock? Posted: 15 Sep 2021 10:06 AM PDT I know how to get back a working file-system(FS), the usual way, by running
which will fix my FS. I have an ext4 image-file that is corrupt - I want to patch in just the Super Block. I want to mount it via loop using an alternate super-block number. I DO NOT want to alter the image beyond a SuperBlock. How do I do this? |
Optimize ext4 for always full operation Posted: 15 Sep 2021 10:23 AM PDT Our application writes data to disk as a huge ring buffer (30 to 150TB); writing new files while deleting old files. As such, by definition, the disk is always "near full". The writer process creates various files at a net input speed of about 100-150 Mbits/s. Data files are a mixture of 1GB 'data' files and several smaller meta data files. (The input speed is constant, but note new file sets are created only once per two minutes). There is a separate deleter process which deletes the "oldest" files every 30s. It keeps deleting until there it reaches 15GB free space headroom on the disk. So in stable operation, all data partitions have only 15GB free space. On this SO question relating to file system slowdown, DepressedDaniel commented:
Is ext4 a bad choice for this application? Since we are running live, what tuning can be done to ext4 to avoid fragmentation, slow downs, or other performance limitations? Changing from ext4 would be quite difficult... (and re-writing statically created files means rewriting the entire application) Thanks! EDIT I The server has 50 to 100 TB of disks attached (24 drives). The Areca RAID controller manages the 24 drives as a RAID-6 raid set. From there we divide into several partitions/volumes, with each volume being 5 to 10TB. So the size of any one volume is not huge. The "writer" process finds the first volume with "enough" space and writes a file there. After the file is written the process is repeated. For a brand new machine, the volumes are filled up in order. If all volumes are "full" then the "deleter" process starts deleting the oldest files until "enough" space is available. Over a long time, because of the action of other processes, the time sequence of files becomes randomly distributed across all volumes. EDIT II Running So far no solution on this problem. See more details at this SO question: How to debug very slow (200 sec) fwrite()/ftello()/fclose()? I've disabled |
NFS no longer mounts: rpc-statd fails to start Posted: 15 Sep 2021 07:58 AM PDT Whenever I try to start an NFS mount I get: I tried to I have tried to reinstall nfs-utils: It then re-creates the directory with the permission of the root user. I'm not even sure if this error even related to I also tried to run I also tried to empty my Note that using |
You are subscribed to email updates from Recent Questions - Unix & Linux Stack Exchange. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment