Skip to content

Instantly share code, notes, and snippets.

View palashkulsh's full-sized avatar
🍓
delusion of reprieve

palash kulshreshtha palashkulsh

🍓
delusion of reprieve
View GitHub Profile
@palashkulsh
palashkulsh / Calculating network bandwidth usage
Last active February 2, 2024 07:33
how to check network bandwidth usage of a port via tcpdump
# documented in https://superuser.com/questions/356907/how-to-get-real-time-network-statistics-in-linux-with-kb-mb-bytes-format-and-for
Your application is probably sending packets to a specific UDP or TCP port number or to a specific IP-address.
You can therefore use something like TCPdump to capture that traffic.
TCPdump doesn't give you the real-time stats you desire but you can feed it's output to something that does (I'll try to update this answer with an answer later).
Update:
@palashkulsh
palashkulsh / ebs snapshot data
Last active March 18, 2024 08:49
ebs snapshots
aws ec2 describe-snapshots --region ap-south-1 --query 'Snapshots[*].[SnapshotId,StartTime,VolumeSize,VolumeId,StorageTier,State,Tags[?Key==`Techteam`].Value | [0],Tags[?Key==`Project`].Value | [0],Description]' --output json | jq -r '.[] | @csv'
@palashkulsh
palashkulsh / sample ids for medispace
Last active January 8, 2025 14:41
sample ids for medispace
A1-A1
A1-A2
A1-A3
A1-A4
A1-A5
A1-A6
A1-A7
A1-A8
A1-A9
A1-A10
@palashkulsh
palashkulsh / medispace fsm
Created January 31, 2025 12:43
medispace fsm requirements
what is going to be the backup and restoration plan for the data?
What downtime sla is being provided in annual maintenance plan?
Im sure the solution is going to be multi tenent. so that i can onboard my multiple companies with separate and independent workforces?
-- 1 company employees cannot interfere and accessd data from another company.
Hierarchy of organisation employees has to be created. so that when delivering a report, we can send the service report automatically to customer,service engineer and service engineer's manager.
Hierarchy permission can be created so that manager can see performance of his reporting employees.
will application source files be provided?
yearly maintenance plan will include
1. os and language upgrades every year?