The engine in the picture below is a L28ET (Datsun 280zx Turbo 2.8 6-cylinder).
Pretty basic procedure or process , so don't sweat if you're a worried first timer.
(STEP 1:) --- Consult , purchase , or obtain main bearing as well as rod-bearing minimum , and maximum wear tolerances. Examples are Nissan factory service manuals , Haynes repair manual , or a Chilton repair manual. Some repair manuals/specs are in inches/metric , and others are just simply metric.
(STEP 2:) --- After consulting my repair manual I obtained the correct "Green Plasti-gauge" size from my local NAPA auto parts house. Plasti-gauge is color coded in several colors to indicate the size range in which the material is designed to test. It is best for me to let YOU do your homework on what size you need (or color) as a general statement since not all sizes fit one in this case. Pretty easy just a couple of extra minutes on a search in google at Jegs , Summit or a call to a local parts house.

(STEP 3:) ---- Assuming your oil pan is off. Take off either the rod-bearing cap or main bearing cap that is desired to check. The procedure is the same for both.
I'm using a 14mm on a 1/2" drive breaker bar to take off an crankshaft main bearing cap.

(STEP 4:) ---- The main bearing cap is off ... try to be as clean as possible (relatively). You don't want to have excessive oil residue or oil in general on the journal being testing.

(STEP 5:) ---- All you're going to do next is cut a strip off your green plasti-gauge ... lay it like it's shown in the picture below. While leaving the bearings in place place the main bearing cap back on carefully. Next torque the bolts down in at least (3) stages minimum via the torque specifications outlined in your repair manual or book. The torque spec used for this engine is right around 4oft lbs , but you need to look up the exact specifications yourself since it's very important to know them from the source




(STEP 6:) ---- Clean off all the plasti-gauge residue in the least harmful way possible. An old credit card or fingernail are relatively harmless. Don't use metallic objects or tools to clean off the residue. Especially in the bearings (soft) or the crank where it can get scored or scratched.
This can be used on lots of different engines/makes/years as well if you were curious.
Have fun.
(may need editing).