How to get MSSQL Top High Load / Runtime Queries

Open MSSQL and execute below code in new query.

SELECT TOP 10 SUBSTRING(qt.TEXT, (qs.statement_start_offset/2)+1,
((CASE qs.statement_end_offset
WHEN -1 THEN DATALENGTH(qt.TEXT)
ELSE qs.statement_end_offset
END - qs.statement_start_offset)/2)+1),
qs.execution_count,
qs.total_elapsed_time/1000000 total_elapsed_time_in_S,
qs.last_elapsed_time/1000000 last_elapsed_time_in_S,
qs.last_execution_time
FROM sys.dm_exec_query_stats qs
CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) qt
CROSS APPLY sys.dm_exec_query_plan(qs.plan_handle) qp
ORDER BY qs.total_logical_reads DESC -- logical reads
-- ORDER BY qs.total_logical_writes DESC -- logical writes
-- ORDER BY qs.total_worker_time DESC -- CPU time

[Solved] eth0 or eth1: error fetching interface information: Device not found on Ubuntu

Error:-
etho: error fetching interface information: Device not found
OR
eth1: error fetching interface information: Device not found

Solution:-

Correct your interfaces file if you are sure that device is there OR cable is connected.

cat /etc/network/interfaces
auto eth0
iface eth0 inet static
address 104.70.x.x
gateway 104.70.x.x
netmask 255.255.x.x
auto eth1
iface eth1 inet static
address 172.16.x.x
netmask 255.255.x.x
auto lo
iface lo inet loopback

Replace address, gateway, netmask with your own actual IPs.