Search Results

Search: Posts Made By: tomislav91
Forum: Ubuntu 03-16-2019
13,422
Posted By tomislav91
sudo dpkg --print-foreign-architectures i386 ...
sudo dpkg --print-foreign-architectures
i386

this is a way i installed wine
# wine
sudo dpkg --add-architecture i386
sudo add-apt-repository ppa:wine/wine-builds
...
Forum: Ubuntu 03-15-2019
13,422
Posted By tomislav91
it didnt help, now is even slower as far as...
it didnt help, now is even slower as far as customers told me.
one cpu is AMD Ryzen 3 2200G
another is Intel(R) Pentium(R) CPU G4400
Forum: Ubuntu 03-15-2019
13,422
Posted By tomislav91
ok, thanks for info. I will try it and let you...
ok, thanks for info.
I will try it and let you know. Any other idea is good :)
maybe some logs orsomething. I get netdata on workstation and monitor specs, maybe to catch a problem.

--- Post...
Forum: Ubuntu 03-15-2019
13,422
Posted By tomislav91
app is our interly. --- Post updated at...
app is our interly.

--- Post updated at 04:45 PM ---



I will try, and let you know results, but as far as i know wine is using only one core, am i right?

I found

in Link...
Forum: Ubuntu 03-15-2019
13,422
Posted By tomislav91
program is like lottery, quiz with numbers, and...
program is like lottery, quiz with numbers, and problem within app the same not seems to be. No update was in that period when slowing start.
Must be somewhere in linux. Don't have a clue where to...
Forum: Ubuntu 03-15-2019
13,422
Posted By tomislav91
Wine cause more cpu usage and freeze program for a couple of seconds
Hi, i am facing a strange issue with wine. I am using ubuntu 14, 17 and 18 and in all version same thing, app which works perfeclty suddenly slow down, and i see that use too much CPU. First, i was...
2,595
Posted By tomislav91
yeah, u are right. This is just a test. So what...
yeah, u are right. This is just a test. So what is matched string and name is irelevant. Point must be the same. Find the model, this is what is string check. When find, ok it is here, find printer...
2,595
Posted By tomislav91
so this is a small portion of it. If you can see...
so this is a small portion of it. If you can see Printer is 4 lines below our matched text 350II. In some workostation is 4 below,. some 5, etc.
So maybe idea is to find <printer below it, and then...
2,595
Posted By tomislav91
Major problem is where printers.conf is different...
Major problem is where printers.conf is different on different workstations. so maybe will be best to somehow search above <Printer> tag
So, not to find 5 or 4 lines above matched CT-S310II, instead...
2,595
Posted By tomislav91
It gives me just true PRINTER=$(awk -F"[< >]"...
It gives me just true
PRINTER=$(awk -F"[< >]" '{TMP[NR%5]=$3} /CT-S310II/ {print TMP[(NR+1)%5]; exit}' /etc/cups/printers.conf)
# echo $PRINTER
true
2,595
Posted By tomislav91
I will test it. Thanks.
I will test it. Thanks.
2,595
Posted By tomislav91
I solve it like this if grep -q S310II...
I solve it like this

if grep -q S310II /etc/cups/printers.conf; then
PRINTER="$(grep -B 5 CT-S310II /etc/cups/printers.conf | head -1 | cut -d "<" -f2 | cut -d ">" -f1 | awk -F " " '{print...
2,595
Posted By tomislav91
Get a printer name into variable with similar printers
I am using a same printer vendor for 2 printer. Some of them dont have just default name with a full name of that printer.

for example
# lpstat -a | awk '{print $1}'|grep CITIZEN
CITIZEN...
5,177
Posted By tomislav91
Maybe,but its not open on my system.. ---...
Maybe,but its not open on my system..

--- Post updated at 03:18 AM ---

And when I execute only in terminal its ok.
Why dont enable it when put it to script.
5,177
Posted By tomislav91
Thanks for it, now it seems its ok a part of it....
Thanks for it, now it seems its ok a part of it. Port 5555 is listening but 7000 not.

-- Reboot --
феб 13 20:11:24 kladionica systemd[1]: Started check.service.
феб 13 20:11:39 kladionica...
5,177
Posted By tomislav91
/etc/systemd/system/check.service ...
/etc/systemd/system/check.service
/etc/systemd/system/check.service: line 1: [Unit]: command not found
/etc/systemd/system/check.service: line 2: After: command not found...
5,177
Posted By tomislav91
Script not running at startup
I am having check.sh script and check.service which I include to /etc/systemd/system/

chmod 744 /usr/local/bin/check.sh
chmod 664 /etc/systemd/system/check.service
systemctl daemon-reload...
Forum: Ubuntu 01-20-2019
12,572
Posted By tomislav91
Do I have some chance to restore md0 or I must...
Do I have some chance to restore md0 or I must get data back and make raid again
Forum: Ubuntu 01-18-2019
12,572
Posted By tomislav91
I noticed something strange now. My md change...
I noticed something strange now. My md change number, look

cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only)...
Forum: Ubuntu 01-18-2019
12,572
Posted By tomislav91
mount | grep md0 root@myuser:/mnt/md0# sudo...
mount | grep md0
root@myuser:/mnt/md0# sudo mount /dev/md0 /mnt/md0
mount: /dev/md0: can't read superblock
Forum: Ubuntu 01-18-2019
12,572
Posted By tomislav91
Md0 raid don't see my folders
I suddenly don't see my folders into /mnt/md0.
What can be reason?

mdadm --detail /dev/md*
/dev/md0:
Version : 1.2
Creation Time : Fri Jan 18 09:54:27 2019
Raid Level : raid1...
4,020
Posted By tomislav91
Anti ddos shell script, is it useful?
Hi guys, just need a opinion from you.
I found anti ddos script from github
Script (https://github.com/ismailtasdelen/Anti-DDOS/blob/master/anti-ddos.sh)

What is your opinion about it? Is it...
17,015
Posted By tomislav91
I got this via tail from server tail -f...
I got this via tail from server
tail -f /var/log/auth.log
Nov 21 21:56:11 user1 sshd[8740]: debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none [prea
uth]
Nov 21 21:56:11 user1...
17,015
Posted By tomislav91
no one can.
no one can.
17,015
Posted By tomislav91
cat /etc/ssh/ssh_config # This is the ssh...
cat /etc/ssh/ssh_config
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed...
Showing results 1 to 25 of 79

 
All times are GMT -4. The time now is 07:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy