How to find used memory on linux server in ssh [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a site which is a 1and1 dedicated Linux server.
It has the /dev/mapper/vg-00-var at a stupidly high, 148G and is at 88% which considering the actual website size is only 250MB there is obviously something wrong.
I have looked with the server error logs on the ftp client and find no errors.
How do I find why the memory usage is so high using ssh?

Try typing in the command prompt
top
To find out where the instance is type
which instaceName
Like
which ruby
Should give
/etc/ruby
Or what not

Related

Keyloggers and Virtual Machines [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want to test some keyloggers in order to see how they work.
If my host OS is clean, and I install the keyloggers on a guest OS running in VirtualBox, will the keylogger be able to log the keystrokes and screenshots in the HOST OS?
I think I know the answer to this question but I just want to make sure.
Unless your VMs are broken, key/screen-loggers will be fully contained in the VMs and will gain no access to the host OS keyboard/screen data that's outside of the VM.

Network/url logging Linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
After some research on the internet I couldnt find an appropriate tool for my task. I am looking for a linux based networking tool like iptraf but with the ability to see which url was exactly requested (in and out).
Thank you in advance!
On linux you can use the tcpdump command to capture traffic, including all the data, to a file.

Ready to use ubuntu based virtual machine [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Are there any pre-installed virtual machine-based ununtu linux boxes that I can directly download and use ?
virtualboxes.org
I've used them in a pinch and never had aproblem. They are pretty basic but they are a good start. I personally just do an install from an ISO unless I am really in a hurry. It is fast and I know exactly what I am going to get.

Unauthorised Perl Scripts [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
One of my servers just had the memory exhausted by a load of Perl scripts, we use plesk and they seem to have appeared under the /var/www/vhosts/domainexample.com/cgi-bin/ directory, I managed to stop all of the processes and delete the scripts but I have absolutely no idea how they would've got there.
Can someone point me in the right direction in order to prevent further attacks?
Who should have access to your webserver machine?
Does this include the owner/operator of domainexample.com?
Do you expect the owner to be placing cgis on your server?
Does domainexample.com need to run cgis?
does domainexample.com need to run perl?
You might want to start researching here:
http://httpd.apache.org/docs/current/misc/security_tips.html

Is it possible to clean a Linux VPS using the shell? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Sometimes my friend give me root access to his CentOS VPS to help him install some programs and he leaves. Sometimes I mess with it, but I don't have the login information for Parallels Virtuozzo Containers, so can I clean the VPS using SSH?
It's faster than formatting the VPS and re-installing the OS.
You could always take a backup before you being work and revert the changes after the face. rsync is one potential tool you could use to do this.

Resources