Pscan2 Command
Aug 6, 2008What is pscan2 command?
Its take a long process and cpu load on my server.
8986 root 25 0 1516 484 408 R 64 0.0 5:36.97 pscan2
What is pscan2 command?
Its take a long process and cpu load on my server.
8986 root 25 0 1516 484 408 R 64 0.0 5:36.97 pscan2
Is there a command i can type into the ssh console to stop a current transfer that i started wit the wget command?
the file im wgeting always stuffs up at 51% but then the server just retries and starts again, its done it 3 times so far and i just want to completely cancle the process if possible....
I tried to look up tutorials for basic commands, but none listed "last"
View 4 Replies View Relatedi have a problem
for example my current path in server is
root@server [/home/user1/public_html/upload]#
and i wanna copy every thing inside directory upload to /home/user1/public_html/
but when i used this command
root@server [/home/user1/public_html/upload]#cp -r -f *.* /home/user1/public_html/
then it just copy files . is there is any way to copy folder as well?
Im using the 'top' command on my server to view the memory and cpu usage, to save me sitting in front of my pc for hours looking at it, is there any way I can save it to a text file for viewing later on
its a 1and1 business server 1
I want to delete all files named .ftpquota from the server, what's the ssh command to accomplish this?
View 3 Replies View RelatedWhats the command to search inside files on a server....
i know locate <name> locates files.
but how do i actually search inside all files...
i know it can take a while/resources....
Can anyone please tell me if there is another command to get I/O HDD stats for FreeBSD except gstat?
View 3 Replies View RelatedMy server's ram keeps on spiking to 100%. And this causes this error:
Code:
SQL error: Out of memory
So far, the only way I can sort this problem out is to reboot it.
Is there any commands to find out what is eating up all of the ram?
i tried installing the APF firewall by following this thread:
http://www.webhostingtalk.com/showthread.php?t=327478
After configuring all the ports, i start the firewall with this command /usr/local/sbin/apf -s
and I got:
: command not foundline 438: kN:q
: command not foundline 438: kN:q
: command not foundline 438: kN:q
Development mode enabled!; firewall will flush every 5 minutes.
: command not foundline 438: kN:q
Is this normal?
how could I increase the memory limit on my server via SSH?
I have it currently on 30MB and need to increase it to 50MB.
Can you please provide a clamscan ssh command for scan all sites public_html folder?
I know "clamscan -i -r --remove /home/" can scan all /home directrory and sub-directory, but its can have a heavy cpu process and serer load!
Im trying to zip up an sqlite database backup.
I execute this command
Code:
zip ../d/db/backup.zip ../d/db/09-02-15.sqlite
backup.zip never appears. Instead, I get some random filename in the directory. Like ziOHokOw
If I try to zip a smaller file(last weeks backup) everything runs fine?
Code:
zip ../d/db/backup.zip ../d/db/09-02-08.sqlite
So the 134mb file zips fine, but the 200mb one seems like its failing and im left with some type of temporary file. I tried downloading the weird filename and unzipping it. It has partial info like directory structure, the filename but the actual file inside is corrupt.
i am use to zip command but on this server gzip is only installed.
So I ran this command
gzip -r /domains/
instead of this
gzip -r /domains/ > backup.gz
Now wat it has done is instead of creating a single file with all the files in compressed format, it has created their gz copy there in the recursion.
How can I delete all those files in recursion? I have tried
rm -Rf /domains/*.gz
I have recently brought a VPS hosting package. At the moment I am going through the tutoritals on the net that I have researched before getting a VPS package to give me some understanding on what I need to do to securior the server and also how to install the software that I require.
For most of today, I have been trying to sort out a problem that I am currently having.
Of which is I am trying to sort out a part of the tutorial from a website that requires the use of apt commands.
But for every command I am getting the message back apt..... Command not found. I am currently using the ubuntu operating system. And through some research, I have got the feeling that I might have the bare installation done on my server to just make it work.
Would I be right, and with the bare installation apt commands wouldn't be installed?
If I am, how would I go about installing the Apt commands and anything else that I might require?
I had some issues with PHP compilation seems to be issue with zlib. So I decided to remove it. What happened then is something like nightmare...
The command yum remove zlib removed zlib + all dependencies without asking me what to remove. So it removed majority of packages including yum itself.
How can I force yum to not remove dependencies when I uninstall some package?
can i activate the deletion command for 10 or 30 mins and then stop it? i think by this way we cant delete some files from the dir and not all the files so i can edit my files
i want to do this because my server doesnt respond to any file system command because my hardisk is full! so i need to remove some files by any way
is there a way to look which process/user used the most cpu in last 30min or in last hour.
View 3 Replies View RelatedWhat is the Command Line, hoe do I get to it, when I do how do I update Perl to 5.88
View 5 Replies View RelatedI've just about got my mysqldump script ready,
Here is what it looks like:
Code:
#!/bin/sh
mysqldump -uusr -ppwd --opt db > /home/usr/dbs/1.sql
mysqldump -uusr -ppwd --opt db2 > /home/usr/dbs/2.sql
cd /home/usr/dbs
tar -zcvf sqldata.tgz *.sql
How would I make my finished gzipped file's filename to include the date?
Would I add any tags infront of sqldata.tgz *.sql?
Or would I have to run another command after the last line?
I can't edit or add anything when using this command
crontab -e
all the jobs appears but I can't edit
using ftp via unix command, how do you get all files and sub directories?
get *.*? but will that get sub dir?
btw, how do you get it to switch between ascii and binary for images? does it do that automaticly?
Its been so long since i used it i have forgot, I need to transfer backups to my new server so i can then install them.
But i have forgot what wget command to use.
Does anyone know how to stop sys links between files and directories?
View 4 Replies View RelatedI am trying to find the right command to backup files, but exclude certain ones and whole folders. I have experimented with various --exclude= and --exclude-from= combinations in my tar backups of my /var/www/html/ folder, but to not avail. I get either errors about non existant files when it checks to exclude, or it just ignores what I put and backs up the folder/files anyway.
If someone could give me the proper syntax to say... backup
/var/www/html/
but exclude
/var/www/html/garbagefiles/
from the tar backup,
I want to transfer a huge database (sql ) of 5 GB to other server ( Remote ) , but i do not know how to do it ! and later i want to restore it also on the 1st server after i format it!
I know how to backup on my own server by using
Quote:
mysqldump -q -uxyourdomain -p -hmysql.yourdomain.com xyourdomain_2 >./myfile.txt
But please help me in telling a command which can make MySql backup from DB to another server
and
a command which can restore MySql backup of DB to another server
I need to know how to move a directory from one location on the server to another, but it needs to over write an older copy of of the directory in the new location.
I tried this and it doesn't work:
cp <directory name> <destination directory>
on linux how can i delete files older than the current month (that is leave only this month's files) from one subdir and recurse every directory?
View 8 Replies View Relatedwhats the command to find out what file system do i use on my FreeBSD server?
Linux Cat didnt worked out.
I want to disable some command below:
Code:
readfile("/etc/passwd");
cat /etc/passwd;
ps -ax
uname -a
How to do it? (I have root access)
I'm needing some info i have been pulling my hair out for hours trying to get some cronjobs lined up i started out with knowing nothing about it and i'm a little better off now i got the cron running but the commands aren't executing so maybe someone can help me figure out why i would greatly appreciate it
Here's The deal I telnetted in set the following crontab ...